Cloneable
Instantiable
Methods |
public
__construct
(
array
$parsers
) Create a parser which will try multiple parsers in an order of preference. Parsers will be invoked in the order they're provided to the constructor. If one of the |
public parse ( string $code , ? PhpParser\ErrorHandler $errorHandler = NULL ) |
Properties |
private
$parsers
|
Methods |
private tryParse ( PhpParser\Parser $parser , PhpParser\ErrorHandler $errorHandler , $code ) |