Lexer
class Lexer
Lexes an expression.
Methods
TokenStream | tokenize(string $expression) Tokenizes an expression. |
Details
TokenStream tokenize(string $expression)
Tokenizes an expression.
Parameters
string | $expression | The expression to tokenize |
Return Value
TokenStream | A token stream instance |
Exceptions
SyntaxError |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/ExpressionLanguage/Lexer.html