Lines Matching refs:PhpParser
5 use PhpParser\Node\Expr;
6 use PhpParser\Node\Scalar;
7 use PhpParser\Node\Stmt;
8 use PhpParser\NodeVisitor;
10 if (class_exists(PhpParser\Parser\Php7::class)) {
24 $lexer = new PhpParser\Lexer();
25 $parser = new PhpParser\Parser\Php7($lexer);
26 $prettyPrinter = new PhpParser\PrettyPrinter\Standard();
27 $nodeDumper = new PhpParser\NodeDumper();
28 $visitor = new class extends PhpParser\NodeVisitorAbstract {
50 public function leaveNode(PhpParser\Node $node) {
100 $traverser = new PhpParser\NodeTraverser();
115 } catch (PhpParser\Error $e) {
129 $fuzzer->setAllowedExceptions([PhpParser\Error::class]);