Свойство | Type | Description | |
---|---|---|---|
$expression | string | The expression being lexed. | |
$expressionLength | integer | The length of the expression. |
Méthode | Description | |
---|---|---|
__construct ( $expression ) | ||
parseExpression ( ) | ||
parseExpressionTokens ( ) |
Méthode | Description | |
---|---|---|
atEnd ( $pos ) | ||
createToken ( $value ) : string | ||
lookAhead ( $pos, $forward = 1 ) |
protected string $expression | ||
Résultat | string |
protected int $expressionLength | ||
Résultat | integer |