Ryan Chandler
|
7e66e812d9
|
parser: treat ? : same as ?: combined
|
2022-12-10 17:12:23 +00:00 |
|
Ryan Chandler
|
4076aeea85
|
parser: allow soft reserved keywords in constants
|
2022-12-10 17:08:09 +00:00 |
|
Ryan Chandler
|
86616bdc69
|
chore: regen fixtures
|
2022-12-10 17:04:31 +00:00 |
|
Saif Eddin Gmati
|
ecbced3007
|
chore: allow attributes on enum cases (#196)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-10 16:41:56 +01:00 |
|
Saif Eddin Gmati
|
239bd69b86
|
chore: allow static, self, and parent in exprs (#195)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-10 16:36:24 +01:00 |
|
Saif Eddin Gmati
|
5264269078
|
chore: test against more third party projects (#194)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-10 16:14:25 +01:00 |
|
Saif Eddin Gmati
|
6a6d4d0e5f
|
chore: refactor ident and dynamic var parsers (#192)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-10 15:24:55 +01:00 |
|
Ryan Chandler
|
fdc239e4c5
|
fix: skip comments after comma in args list
|
2022-12-10 11:42:52 +00:00 |
|
azjezz
|
ef87f4dd4e
|
chore: fmt
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-10 12:33:33 +01:00 |
|
William Desportes
|
ea008412fc
|
chore: add more third party projects (#190)
|
2022-12-10 12:26:50 +01:00 |
|
Ryan Chandler
|
bf0eda2ea3
|
fix: handle opening and closing tags in more places
|
2022-12-09 23:22:49 +00:00 |
|
Ryan Chandler
|
c8608eab92
|
fix: look for end token when parsing switch instead of always looking for right brace
|
2022-12-09 23:14:16 +00:00 |
|
Ryan Chandler
|
fa19d0eb8d
|
parser: skip open tags if found after an InlineHtml statement
|
2022-12-09 23:08:24 +00:00 |
|
Ryan Chandler
|
81af31bf62
|
chore: remove old FIXME
|
2022-12-09 22:49:36 +00:00 |
|
Ryan Chandler
|
0a25ec4583
|
chore: fmt
|
2022-12-09 22:40:03 +00:00 |
|
Ryan Chandler
|
f933149525
|
chore: remove unused increment & decrement exprs
|
2022-12-09 22:38:54 +00:00 |
|
Ryan Chandler
|
6d27fd3746
|
chore: remove unused UnaryPlus expr
|
2022-12-09 22:38:09 +00:00 |
|
Ryan Chandler
|
91faaafdf9
|
fix: replace missed usage of Negate with no ops expression
|
2022-12-09 22:37:57 +00:00 |
|
Ryan Chandler
|
68d2ec6702
|
chore: remove unused BooleanNot expression
|
2022-12-09 22:36:18 +00:00 |
|
Ryan Chandler
|
01301e9c2c
|
chore: remove unused InfixOp enum
|
2022-12-09 22:35:38 +00:00 |
|
Ryan Chandler
|
df45b9f034
|
chore: fmt
|
2022-12-09 22:35:00 +00:00 |
|
Ryan Chandler
|
0ee981aed6
|
parser: separate infix operations into new expressions (#188)
|
2022-12-09 22:34:29 +00:00 |
|
Saif Eddin Gmati
|
c93634a62b
|
chore: refactor class and trait ast (#189)
Signed-off-by: azjezz <azjezz@protonmail.com>
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-09 22:05:03 +01:00 |
|
Ryan Chandler
|
aeb10f1777
|
parser: use separate expression for parenthesized expressions
|
2022-12-09 15:54:51 +00:00 |
|
William Desportes
|
eb79c25361
|
chore: add silverstripe framework to integration tests (#186)
|
2022-12-09 14:01:58 +00:00 |
|
Saif Eddin Gmati
|
5127b2116d
|
chore: refactor interface ast (#187)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-09 14:42:46 +01:00 |
|
Dominik Zogg
|
aea2b9cfee
|
chore: add chubbyphp framework to integration tests (#184)
|
2022-12-09 08:38:20 +01:00 |
|
Saif Eddin Gmati
|
89866d952c
|
chore: allow soft reserved keywords to be used as function names (#185)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-09 07:57:02 +01:00 |
|
azjezz
|
d3612edc5c
|
chore: fmt
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-09 06:49:49 +01:00 |
|
Ryan Chandler
|
cdf422bea8
|
chore: add wordpress to third party tests
|
2022-12-09 02:14:09 +00:00 |
|
Ryan Chandler
|
19e9fdf01b
|
chore: add composer to third party tests
|
2022-12-09 02:11:44 +00:00 |
|
Ryan Chandler
|
a2f4b37ace
|
chore: add symfony/polyfill to third party tests
|
2022-12-09 02:09:47 +00:00 |
|
Ryan Chandler
|
78479f5861
|
lexer: dont consume close tags in single line comments
|
2022-12-09 02:06:15 +00:00 |
|
Ryan Chandler
|
aefa6a89a8
|
chore: ignore Symfony upstream error
|
2022-12-09 01:55:47 +00:00 |
|
Ryan Chandler
|
54e2e4f8b7
|
parser: handle close tag at top-level
|
2022-12-09 01:54:01 +00:00 |
|
Ryan Chandler
|
e12abf8873
|
chore: skip purposeful syntax error in Laravel third party tests
|
2022-12-09 01:48:18 +00:00 |
|
Ryan Chandler
|
825577d18d
|
fix: better heredoc/nowdoc implementation (#183)
|
2022-12-09 01:44:20 +00:00 |
|
Saif Eddin Gmati
|
bd2023c3c4
|
chore: remove fallback expression parser (#181)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 21:34:16 +01:00 |
|
Ryan Chandler
|
00834ed3ff
|
parser: support blockless statements
Closes #33.
|
2022-12-08 19:32:13 +00:00 |
|
azjezz
|
2db9d4641b
|
chore: add true, false, and null as reserved keywords
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 18:59:35 +01:00 |
|
Saif Eddin Gmati
|
b72751d3c7
|
chore: remove tokens test (#180)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 18:47:54 +01:00 |
|
Saif Eddin Gmati
|
4d0cd75fa9
|
fix: fix parsing by_ref parameters (#179)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 18:07:03 +01:00 |
|
azjezz
|
8af0c1e3a1
|
fix: invalid rust toolchain on ci
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 18:00:43 +01:00 |
|
azjezz
|
4854c36d25
|
chore: update ci
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 17:50:21 +01:00 |
|
Saif Eddin Gmati
|
2659fdbebb
|
chore: test against more third party frameworks (#178)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 16:50:25 +01:00 |
|
Saif Eddin Gmati
|
e74d0ec18e
|
chore: refactor expression parser to avoid stack overflow issue (#177)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 15:49:54 +01:00 |
|
azjezz
|
ede98233c5
|
chore: fix tests
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 23:14:28 +01:00 |
|
azjezz
|
ad0623ed20
|
chore: remove Parser structure
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 23:11:37 +01:00 |
|
azjezz
|
8de571f97f
|
fix: don't allow static, parent, and self as expressions
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 21:00:35 +01:00 |
|
Ryan Chandler
|
aaafc612de
|
parser: move array item logic into separate fn
|
2022-12-07 17:33:37 +00:00 |
|