Lines Matching refs:lexer
23 $lexer = $this->getLexer();
29 ], $lexer->tokenize($code));
36 $lexer = $this->getLexer();
43 ], $lexer->tokenize($code));
50 $lexer = $this->getLexer();
58 ], $lexer->tokenize($code));
65 $lexer = $this->getLexer();
74 ], $lexer->tokenize($code));
81 $lexer = $this->getLexer();
89 ], $lexer->tokenize($code));
136 $lexer = $this->getLexer();
137 $this->assertSameTokens($expectedTokens, $lexer->tokenize('<?php ' . $code));
146 $lexer = $this->getLexer();
153 ], $lexer->tokenize($fullCode));
161 $lexer = $this->getLexer();
162 $lexer->tokenize('<?php ' . $code . "\0", $errorHandler);
434 $lexer = new Emulative(PhpVersion::fromString($phpVersion));
435 $this->assertSameTokens($expectedTokens, $lexer->tokenize('<?php ' . $code));