class Lexer

Lexes an expression.

Methods

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