File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -549,8 +549,9 @@ There are a number of differences in the AST representation and available suppor
549
549
* AST traversal / visitation: There is currently no standalone package for this either, but
550
550
implementing a recursive AST walk is easy.
551
551
552
- The [ php-parser-to-php-ast] [ php-parser-to-php-ast ] project can convert the AST produced by
553
- PHP-Parser into the format used by the php-ast extension. This can be used as a slow fallback in
552
+ The [ tolerant-php-parser-to-php-ast] [ tolerant-php-parser-to-php-ast ] project can convert the AST produced by
553
+ [ tolerant-php-parser] [ tolerant-php-parser ] (Another pure PHP parser library) into the format used by the php-ast extension.
554
+ This can be used as a slow fallback in
554
555
case the php-ast extension is not available. It may also be used to produce a partial php-ast output
555
556
for code with syntax errors.
556
557
@@ -559,6 +560,7 @@ for code with syntax errors.
559
560
[ test_dump ] : https://github.com/nikic/php-ast/blob/master/tests/001.phpt
560
561
[ php-parser ] : https://github.com/nikic/PHP-Parser
561
562
[ php-ast-reverter ] : https://github.com/tpunt/php-ast-reverter
562
- [ php-parser-to-php-ast ] : https://github.com/tysonandre/php-parser-to-php-ast
563
+ [ tolerant-php-parser ] : https://github.com/Microsoft/tolerant-php-parser
564
+ [ tolerant-php-parser-to-php-ast ] : https://github.com/tysonandre/tolerant-php-parser-to-php-ast
563
565
[ v0_1_x ] : https://github.com/nikic/php-ast/tree/v0.1.x#php-ast
564
566
[ v0_1_x_versions ] : https://github.com/nikic/php-ast/tree/v0.1.x#ast-versioning
You can’t perform that action at this time.
0 commit comments