nikic db3181aff1 More test coverage and doc string parsing fixes
The parser didn't account for the additional newline after the content of doc strings, which is left there by the tokenizer for some reason. Additoinally esacape sequences were parsed in nowdoc strings.

Additionally this contains some minor changes to the grammar: Some _list nonterminals were refactored to have the possible single elements in a reparate rule and only assemble those single elements. (This reduces duplication and gives better assignment of line number context.)
2011-12-04 16:52:43 +01:00
2011-11-12 19:30:52 +01:00
2011-10-30 12:16:31 +01:00
2011-06-26 18:45:19 +02:00
2011-11-12 19:28:53 +01:00

PHP Parser

This is a PHP 5.4 (and older) parser written in PHP. It's purpose is to simplify static code analysis and manipulation.

Documentation can be found in the doc/ directory.

Note: This project is experimental. There are no known bugs in the parser itself, but the API is subject to change.

Description
A PHP parser written in PHP
Readme 10 MiB
Languages
PHP 95.3%
Yacc 4.7%