Home
last modified time | relevance | path

Searched refs:Lexer (Results 1 – 25 of 37) sorted by relevance

12

/PHP-Parser/lib/PhpParser/Lexer/
H A DEmulative.php3 namespace PhpParser\Lexer;
7 use PhpParser\Lexer; alias
9 use PhpParser\Lexer\TokenEmulator\AttributeEmulator;
10 use PhpParser\Lexer\TokenEmulator\EnumTokenEmulator;
11 use PhpParser\Lexer\TokenEmulator\ExplicitOctalEmulator;
12 use PhpParser\Lexer\TokenEmulator\MatchTokenEmulator;
13 use PhpParser\Lexer\TokenEmulator\NullsafeTokenEmulator;
14 use PhpParser\Lexer\TokenEmulator\PropertyTokenEmulator;
17 use PhpParser\Lexer\TokenEmulator\ReverseEmulator;
18 use PhpParser\Lexer\TokenEmulator\TokenEmulator;
[all …]
/PHP-Parser/test/PhpParser/Parser/
H A DPhp7Test.php5 use PhpParser\Lexer; alias
10 protected function getParser(Lexer $lexer) {
H A DPhp8Test.php5 use PhpParser\Lexer; alias
10 protected function getParser(Lexer $lexer) {
/PHP-Parser/test/PhpParser/
H A DParserTestAbstract.php12 abstract protected function getParser(Lexer $lexer);
17 $parser = $this->getParser(new Lexer());
24 $parser = $this->getParser(new Lexer());
31 $parser = $this->getParser(new Lexer());
36 $lexer = new Lexer();
122 $parser = $this->getParser(new Lexer\Emulative());
184 $parser = $this->getParser(new Lexer\Emulative());
193 $lexer = new Lexer();
207 class InvalidTokenLexer extends Lexer {
H A DJsonDecoderTest.php16 $parser = new Parser\Php7(new Lexer());
H A DLexerTest.php10 return new Lexer();
H A DConstExprEvaluatorTest.php11 $parser = new Parser\Php7(new Lexer());
/PHP-Parser/lib/PhpParser/
H A DParserFactory.php16 $lexer = new Lexer();
18 $lexer = new Lexer\Emulative($version);
H A DLexer.php7 class Lexer { class
/PHP-Parser/lib/PhpParser/Lexer/TokenEmulator/
H A DMatchTokenEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DPropertyTokenEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DReadonlyFunctionTokenEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DTokenEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DEnumTokenEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DReadonlyTokenEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DReverseEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DAttributeEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DExplicitOctalEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DKeywordEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
H A DNullsafeTokenEmulator.php3 namespace PhpParser\Lexer\TokenEmulator;
/PHP-Parser/
H A DCONTRIBUTING.md18 * Add a new subclass of `Lexer\TokenEmulator`. Take inspiration from existing classes.
19 * Add the new class to the array in `Lexer\Emulative`.
20 * Add tests for the emulation in `Lexer\EmulativeTest`. You'll want to modify
H A Dphpstan-baseline.neon91 path: lib/PhpParser/Lexer/Emulative.php
96 path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
101 path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
106 path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
111 path: lib/PhpParser/Lexer/TokenEmulator/PropertyTokenEmulator.php
/PHP-Parser/doc/
H A DREADME.md29 * [Lexer](component/Lexer.markdown)
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php484 $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());
/PHP-Parser/test/code/parser/errorHandling/
H A DlexerErrors.test1 Lexer errors

Completed in 17 milliseconds

12