extends |
Lexer |
---|
Methods | ||
---|---|---|
public
|
__construct(mixed[] $options = [])
|
# |
public
|
startLexing(string $code, ?ErrorHandler $errorHandler = null)
|
# |
Methods inherited from PhpParser\Lexer |
---|
postprocessTokens(), getNextToken(), getTokens(), handleHaltCompiler(), createTokenMap() |
Constants | ||
---|---|---|
public
|
PHP_7_3 = '7.3dev'
|
# |
public
|
PHP_7_4 = '7.4dev'
|
# |
public
|
PHP_8_0 = '8.0dev'
|
# |
public
|
PHP_8_1 = '8.1dev'
|
# |
public
|
PHP_8_2 = '8.2dev'
|
# |
Properties inherited from PhpParser\Lexer |
---|
$code, $tokens, $pos, $line, $filePos, $prevCloseTagHasNewline, $tokenMap, $dropTokens, $identifierTokens |