class Lexer

Lexes an expression.

Methods

tokenize(string $expression)

Tokenizes an expression.

Details

at line 30
TokenStream tokenize(string $expression)

Tokenizes an expression.

Parameters

string $expression The expression to tokenize

Return Value

TokenStream A token stream instance

Exceptions

SyntaxError