Commit Graph

454 Commits

Author SHA1 Message Date
Ryan Chandler
dee9eb7f23
parser/lexer: support all types of prefix cast 2022-09-16 14:37:06 +01:00
Ryan Chandler
0d8eea9ca6
all: clippy 2022-09-16 14:25:01 +01:00
Ryan Chandler
7677435f6e
Merge pull request #98 from ryangjchandler/refactor/args 2022-09-16 14:23:20 +01:00
Ryan Chandler
86638611f7
chore: only run pull_request on opened/reopened 2022-09-16 14:22:00 +01:00
Ryan Chandler
7ea487f026
chore: format 2022-09-16 14:21:25 +01:00
Ryan Chandler
25f6e7ca45
parser: abstract call argument parsing logic 2022-09-16 14:20:54 +01:00
Ryan Chandler
5dcf047d3a
Merge pull request #96 from ryangjchandler/fix/new-expressions 2022-09-16 11:43:45 +01:00
Ryan Chandler
4dcb84b428
chore: format 2022-09-16 11:31:38 +01:00
Ryan Chandler
5420b42f57
parser: fix new expressions being parsed incorrectly 2022-09-16 11:30:41 +01:00
Ryan Chandler
8dc0052bf4
Merge pull request #95 from ryangjchandler/feature/unpack-array-items 2022-09-16 11:23:10 +01:00
Ryan Chandler
9ca03f5fdd
parser: support unpacking array items 2022-09-16 11:21:18 +01:00
Ryan Chandler
df92c31adf
Merge pull request #93 from ryangjchandler/feature/variable-variables 2022-09-16 11:11:17 +01:00
Ryan Chandler
18b91ce1cd
parser: support braced static method calls 2022-09-16 11:10:05 +01:00
Ryan Chandler
d757358bea
parser: support variable static method calls 2022-09-16 11:03:35 +01:00
Ryan Chandler
15e84edab6
parser: support static variable variable property fetches 2022-09-16 10:43:18 +01:00
Ryan Chandler
c91d7a495f
parser: support variable variable property fetch and method calls 2022-09-16 10:40:37 +01:00
Ryan Chandler
ac97dbf2fa
parser: test variable variable method calls 2022-09-16 10:28:16 +01:00
Ryan Chandler
63aa82a1cd
parser: support variable variables 2022-09-16 10:26:11 +01:00
Ryan Chandler
d28b93a4e8
Merge pull request #92 from ryangjchandler/feature/braced-variables 2022-09-16 10:23:07 +01:00
Ryan Chandler
59ebb1ed2d
parser: add test case for call inside braced var 2022-09-16 10:21:37 +01:00
Ryan Chandler
5cc76b4f3d
parser: support braced variables 2022-09-16 10:20:38 +01:00
Ryan Chandler
9353c8fab1
lexer: produce single dollar tokens 2022-09-16 10:09:29 +01:00
Ryan Chandler
21ebbbd62d
Merge pull request #91 from ryangjchandler/feature/nullsafe-method-calls 2022-09-16 10:05:00 +01:00
Ryan Chandler
dab4b9d8f4
chore: format 2022-09-16 10:03:28 +01:00
Ryan Chandler
b4b4e8340e
parser: support nullsafe method calls 2022-09-16 10:03:04 +01:00
Ryan Chandler
9c6beffdb7
Merge pull request #90 from edsrzf/binary-strings
lexer: implement binary strings
2022-09-16 08:32:19 +01:00
Evan Shaw
1918f80799 lexer: implement binary strings 2022-09-16 16:48:09 +12:00
Ryan Chandler
cea0064c4d
Merge pull request #89 from edsrzf/lexer-string-escapes 2022-09-15 23:01:07 +01:00
Evan Shaw
366004c30b lexer: implement octal, hex, and unicode string escapes 2022-09-16 09:13:10 +12:00
Evan Shaw
f8c0928cf7 lexer: handle double-quote whitespace escape sequences 2022-09-16 09:13:09 +12:00
Evan Shaw
446b984376 lexer: error on unterminated strings 2022-09-16 07:27:31 +12:00
Ryan Chandler
356748d633
Merge pull request #88 from edsrzf/lexer-rework-position 2022-09-15 12:38:01 +01:00
Evan Shaw
353412a85a lexer: fully qualified identifier test 2022-09-15 22:12:02 +12:00
Evan Shaw
0e5499ebc8 lexer: re-work position tracking
Now span refers to the start of a token and position is tracked inside
the next method.
2022-09-15 22:07:50 +12:00
Ryan Chandler
b1c811a9d4
Merge pull request #87 from ryangjchandler/feature/true-false-null-return-types 2022-09-15 01:27:29 +01:00
Ryan Chandler
e5dfb3a7e6
chore: format 2022-09-15 01:26:30 +01:00
Ryan Chandler
7fcd34c037
parser: support false as a return type 2022-09-15 01:24:41 +01:00
Ryan Chandler
0f53506f94
parser: support true as a type string 2022-09-15 01:24:04 +01:00
Ryan Chandler
ebd93090fa
parser: support null as a type 2022-09-15 01:23:21 +01:00
Ryan Chandler
39ab4fbb0a
Merge pull request #86 from ryangjchandler/feature/goto-labels 2022-09-15 01:18:50 +01:00
Ryan Chandler
4f795e94bc
chore: format 2022-09-15 01:17:48 +01:00
Ryan Chandler
7bac78f039
parser: support label statements 2022-09-15 01:17:41 +01:00
Ryan Chandler
1f0cd664da
parser/lexer: add support for goto statements 2022-09-15 01:15:52 +01:00
Ryan Chandler
8b27266f05
Merge pull request #85 from ryangjchandler/feature/first-class-callables 2022-09-15 01:10:26 +01:00
Ryan Chandler
1643b8b122
chore: format 2022-09-15 01:09:19 +01:00
Ryan Chandler
17b37157ce
parser: support first class callables on static method calls 2022-09-15 01:06:42 +01:00
Ryan Chandler
8d6ad8ec0a
parser: support first class callables on method calls 2022-09-15 01:05:33 +01:00
Ryan Chandler
bada341e02
parser: support first class callables on functions 2022-09-15 01:03:21 +01:00
Ryan Chandler
63b0164837
Merge pull request #83 from ryangjchandler/fix/static-arrow-functions 2022-09-15 00:56:11 +01:00
Ryan Chandler
9e17eaff14
chore: format 2022-09-15 00:55:09 +01:00