Lexer
class Lexer (View source)
Constants
protected PATTERN_EEL_EXPRESSION |
|
protected TOKEN_REGEX |
|
Properties
protected | $code | ||
protected | $codeLen | ||
protected | $cursor | ||
protected | $lookahead |
Methods
__construct(string $code)
No description
string
getCode()
No description
int
getCursor()
No description
consumeLookahead()
No description
Token|null
getCachedLookaheadOrTryToGenerateLookaheadForTokenAndGetLookahead(int $tokenType)
No description
Details
__construct(string $code)
No description
string
getCode()
No description
int
getCursor()
No description
Token
consumeLookahead()
No description
Token|null
getCachedLookaheadOrTryToGenerateLookaheadForTokenAndGetLookahead(int $tokenType)
No description