Searched refs:Emulative (Results 1 – 12 of 12) sorted by relevance
18 $lexer = new Lexer\Emulative($version);
484 $parser = new PhpParser\Parser\Php7(new PhpParser\Lexer\Emulative());513 $parser = new PhpParser\Parser\Php7(new PhpParser\Lexer\Emulative());570 $parser = new PhpParser\Parser\Php8(new PhpParser\Lexer\Emulative());
122 $parser = $this->getParser(new Lexer\Emulative());184 $parser = $this->getParser(new Lexer\Emulative());
16 return new Emulative();434 $lexer = new Emulative(PhpVersion::fromString($phpVersion));
19 * Add the new class to the array in `Lexer\Emulative`.
18 $parser = new Parser(new Lexer\Emulative);
25 $parser = new \PhpParser\Parser(new PhpParser\Lexer\Emulative);
91 path: lib/PhpParser/Lexer/Emulative.php
502 $lexer = new Lexer\Emulative([
138 * The `Lexer` no longer accepts options. `Lexer\Emulative` only accepts a `PhpVersion`. The
22 class Emulative extends Lexer { class
30 Finally, `PhpParser\Lexer\Emulative` performs other, optional emulations. This lexer is parameteriz…
Completed in 18 milliseconds