Home

Awesome

Tolerant-PHP-Parser to php-ast

Build Status Latest Stable Version License

This project uses Microsoft/tolerant-php-parser to generate a tree with error tolerance, then converts from that tree to ast\Node from php-ast

This release supports AST version 70.

Usage

Using it as a slow substitute for php-ast

Using it as an error-tolerant substitute for php-ast (e.g. for use in IDEs)

Running unit tests

To run unit tests, you must install nikic/php-ast 1.0.1+ (for the expected results to be created). You must also run composer install if you haven't already done so.

Possible Future Enhancements