Commit Graph

119 Commits

Author SHA1 Message Date
Ryan Chandler
c372b9e9bd
parser: support class constant fetches 2022-11-30 00:40:36 +00:00
Ryan Chandler
8cf226a35d
parser: allow reserved words in class method names 2022-11-30 00:40:36 +00:00
Saif Eddin Gmati
558ce71563
feat: add test generator (#134)
Co-authored-by: Ryan Chandler <ryangjchandler@gmail.com>
closes https://github.com/ryangjchandler/php-parser-rs/issues/130
2022-11-29 23:19:51 +00:00
Saif Eddin Gmati
0e04f157f7
chore: consistent naming (#135)
Signed-off-by: azjezz <azjezz@protonmail.com>

Signed-off-by: azjezz <azjezz@protonmail.com>
2022-11-29 21:25:17 +00:00
Saif Eddin Gmati
017b2e19c3
chore: use new integration test runner instead of assert_ast() (#127)
Signed-off-by: azjezz <azjezz@protonmail.com>

Signed-off-by: azjezz <azjezz@protonmail.com>
2022-11-29 01:33:01 +00:00
Saif Eddin Gmati
adac1d7171
chore: better parser errors (#126) 2022-11-29 00:46:05 +00:00
Ryan Chandler
00577e13b9
parser: add support for trait adaptations (#123) 2022-11-28 20:50:37 +00:00
Saif Eddin Gmati
37d0761ff8
fix: formatting (#124) 2022-11-28 18:11:45 +00:00
Saif Eddin Gmati
f9d3f52990
support more types (#120) 2022-11-28 17:20:31 +00:00
Ryan Chandler
9ad5f54a75
parser: parse namespace into single node 2022-11-28 14:19:10 +00:00
Ryan Chandler
807c9e73cd chore: fmt 2022-11-28 13:18:26 +00:00
Ryan Chandler
e7d4900a02 parser/tests: group use with alias 2022-11-28 13:18:26 +00:00
Ryan Chandler
a99b62155a parser: support group use statements 2022-11-28 13:18:26 +00:00
Ryan Chandler
fa820ba296 parser/tests: add coverage for simple use statements 2022-11-28 13:18:26 +00:00
Ryan Chandler
b103c34d3e chore: fmt 2022-11-27 02:49:28 +00:00
Ryan Chandler
c831557752 chore: README 2022-11-27 02:49:28 +00:00
Ryan Chandler
ca45b213e5 chore: move all code into a single library 2022-11-27 02:49:28 +00:00
Ryan Chandler
25bda5af6f
lexer: rough state machine for lexing inline and scripting tokens 2022-07-16 14:14:03 +01:00
Ryan Chandler
01ffc627b9
init 2022-07-16 12:40:16 +01:00