Kind: global class
Properties
Name | Type | Description |
---|---|---|
EOF | Integer |
|
all_tokens | Boolean |
defines if all tokens must be retrieved (used by token_get_all only) |
comment_tokens | Boolean |
extracts comments tokens |
mode_eval | Boolean |
enables the evald mode (ignore opening tags) |
asp_tags | Boolean |
disables by default asp tags mode |
short_tags | Boolean |
enables by default short tags mode |
keywords | Object |
List of php keyword |
castKeywords | Object |
List of php keywords for type casting |
Initialize the lexer with the specified input
Kind: instance method of lexer
consumes and returns one char from the input
Kind: instance method of lexer
revert eating specified size
Kind: instance method of lexer
Gets the current state
Kind: instance method of lexer
Sets the current lexer state
Kind: instance method of lexer