T_DOT
T_DOT = 'dot'
Tokenizes JMESPath expressions
$transitionTable : array
$validIdentifier : array
$numbers : array
$simpleTokens : array
matchOr(array $chars, string $current, string $expected, string $type, string $orElse) : array
Returns a token based on whether or not the next token matches the expected value. If it does, a token of "$type" is returned. Otherwise, a token of "$orElse" type is returned.
array | $chars | Array of characters by reference. |
string | $current | The current character. |
string | $expected | Expected character. |
string | $type | Expected result type. |
string | $orElse | Otherwise return a token of this type. |
Returns a conditional token.
inside(array $chars, string $delim, string $type) : array
Returns a token the is the result of consuming inside of delimiter characters. Escaped delimiters will be adjusted before returning a value. If the token is not closed, "unknown" is returned.
array | $chars | Array of characters by reference. |
string | $delim | The delimiter character. |
string | $type | Token type. |
Returns the consumed token.