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