First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
17
vendor/nikic/php-parser/lib/PhpParser/Parser.php
vendored
Normal file
17
vendor/nikic/php-parser/lib/PhpParser/Parser.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace PhpParser;
|
||||
|
||||
interface Parser {
|
||||
/**
|
||||
* Parses PHP code into a node tree.
|
||||
*
|
||||
* @param string $code The source code to parse
|
||||
* @param ErrorHandler|null $errorHandler Error handler to use for lexer/parser errors, defaults
|
||||
* to ErrorHandler\Throwing.
|
||||
*
|
||||
* @return Node[]|null Array of statements (or null if the 'throwOnError' option is disabled and the parser was
|
||||
* unable to recover from an error).
|
||||
*/
|
||||
public function parse($code, ErrorHandler $errorHandler = null);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue