Ryan Chandler
9a2109b31d
chore: fmt
2022-11-30 00:58:30 +00:00
Ryan Chandler
29946919ad
parser: allow from as reserved ident
2022-11-30 00:58:22 +00:00
Ryan Chandler
490648514a
parser: skip comments after a statement in block for now
2022-11-30 00:56:56 +00:00
Ryan Chandler
92cc015d69
parser: skip comments above enum cases for now
2022-11-30 00:54:14 +00:00
Ryan Chandler
e25b501cfc
parser: allow static on lhs of static call
2022-11-30 00:53:00 +00:00
Ryan Chandler
4178947be8
parser: allow reserved idents in static method calls
2022-11-30 00:48:34 +00:00
Ryan Chandler
a069fa2a8a
chore: move all parser tests into code files ( #139 )
2022-11-30 00:43:37 +00:00
Ryan Chandler
5f9489117b
parser: allow readonly in promoted constructor properties
2022-11-30 00:40:37 +00:00
Ryan Chandler
19213d2d05
parser: skip comments above trait statements
2022-11-30 00:40:37 +00:00
Ryan Chandler
9e441143c5
parser: allow null as a type in property union
2022-11-30 00:40:36 +00:00
Ryan Chandler
e21b6a40ef
lexer: produce correct token for single !
2022-11-30 00:40:36 +00:00
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
5d95a8985c
chore: update test script ( #140 )
2022-11-30 00:39:02 +00:00
Saif Eddin Gmati
3df5a46eeb
chore: test against third party libraries ( #138 )
2022-11-30 00:17:34 +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
8640b753d1
re-license under MIT or APACHE-2.0 ( #137 )
...
* re-license under MIT or APACHE-2.0
Signed-off-by: azjezz <azjezz@protonmail.com>
* Update README.md
Signed-off-by: azjezz <azjezz@protonmail.com>
Co-authored-by: Ryan Chandler <ryangjchandler@gmail.com>
2022-11-29 21:22:42 +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
Ryan Chandler
ee454dc75b
wip
2022-11-28 17:30:00 +00:00
Ryan Chandler
5ad172ce4d
chore: add repository to Cargo.toml
2022-11-28 17:29:08 +00:00
Ryan Chandler
5556ec2de1
chore: add licence to Cargo.toml
2022-11-28 17:27:40 +00:00
Ryan Chandler
d538ee089e
Create LICENSE
2022-11-28 17:27:22 +00:00
Ryan Chandler
2b9834964b
chore: Cargo.toml
2022-11-28 17:23:13 +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
5a5f85e569
chore: add jffnr badge
2022-11-27 16:48:59 +00:00
Ryan Chandler
bccf5f76b8
chore: add jffnr badge
2022-11-27 16:48:12 +00:00
Ryan Chandler
f88c48d6e4
chore: README
2022-11-27 02:51:28 +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
e53c9ec6d0
chore: README
2022-11-27 02:49:28 +00:00
Ryan Chandler
e9c4b54d99
chore: rename to php-parser-rs
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
c2ffd0cd59
parser: add missing reserved keyword tokens to list of accepted
...
Closes #50
2022-11-27 02:20:23 +00:00
Ryan Chandler
b26156c008
wip
2022-11-25 18:42:48 +00:00
Ryan Chandler
3ab63ae7c8
wip
2022-11-25 18:41:18 +00:00
Ryan Chandler
5529fa3e84
wip
2022-11-25 18:40:37 +00:00
Ryan Chandler
5775e5964a
wip
2022-11-25 18:39:57 +00:00
Ryan Chandler
f02a8d85e2
wip
2022-11-25 18:39:03 +00:00
Ryan Chandler
9a0bf0db19
wip
2022-11-25 18:07:55 +00:00
Ryan Chandler
c479ab4d6b
wip
2022-11-25 17:22:52 +00:00
Ryan Chandler
2f6adb7a00
chore: use hashbrown
2022-11-25 16:32:50 +00:00