Home
last modified time | relevance | path

Searched refs:parse (Results 26 – 35 of 35) sorted by relevance

12

/PHP-Parser/
H A DCHANGELOG.md72 * Don't parse unicode escape sequences when targeting PHP < 7.0.
92 * The minimum host PHP version is now PHP 7.4. It is still possible to parse code from older
881 * Fixed notice in `bin/php-parse` script.
904 * Added `php-parse --with-positions` option, which dumps nodes with position information.
946 * Added support for recovering from "special" errors (i.e. non-syntax parse errors).
950 * Added optional `ErrorHandler` argument to `Parser::parse()`, `Lexer::startLexing()` and
996 * The PHP 7 parser will now generate a parse error for `$var =& new Obj` assignments.
1062 * The PHP 7 parser will now generate a parse error for `$var =& new Obj` assignments.
1089 * Added `-h` and `--help` options to `php-parse` script.
1093 * Invalid octal literals now throw a parse error in PHP 7 mode.
[all …]
H A DUPGRADE-5.0.md6 PHP-Parser now requires PHP 7.4 or newer to run. It is however still possible to *parse* code for o…
23 …* Declarations of the form `global $$var[0]` are not supported in PHP 7 and will cause a parse err…
38 * `createForVersion()`: Use this if you know the PHP version of the code you want to parse.
44 …class declaration, while using `public readonly int $prop` will lead to a parse error. However, `f…
511 $oldStmts = $parser->parse($code);
521 $oldStmts = $parser->parse($code);
H A DUPGRADE-1.0.md6 PHP-Parser now requires PHP 5.3 or newer to run. It is however still possible to *parse* PHP 5.2 so…
H A DUPGRADE-4.0.md6 PHP-Parser now requires PHP 7.0 or newer to run. It is however still possible to *parse* PHP 5.2-5.6
H A DREADME.md56 $ast = $parser->parse($code);
/PHP-Parser/doc/component/
H A DPretty_printing.markdown15 $stmts = $parser->parse($code);
82 $oldStmts = $parser->parse($code);
H A DPerformance.markdown39 parse multiple files.
H A DLexer.markdown61 The lexer is normally invoked implicitly by the parser. In that case, the tokens for the last parse
120 $stmts = $parser->parse($code);
/PHP-Parser/test/PhpParser/
H A DNodeAbstractTest.php551 $stmts = $parser->parse(canonicalize($code));
/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php178 public function parse(string $code, ?ErrorHandler $errorHandler = null): ?array { function in PhpParser\\ParserAbstract

Completed in 39 milliseconds

12