Detailed Description
Definition at line 132 of file lexer.php.
Member Function Documentation
Adds a state to the stack and sets it to be the current state.
- Parameters:
-
| string | $state | New state. public |
Definition at line 159 of file lexer.php.
Accessor for current state.
- Returns:
- string State as string. public
Definition at line 149 of file lexer.php.
Leaves the current state and reverts to the previous one.
- Returns:
- bool False if we drop off the bottom of the list. public
Definition at line 170 of file lexer.php.
Constructor. Starts in named state.
- Parameters:
-
| string | $start | Starting state name. public |
Definition at line 140 of file lexer.php.
Field Documentation
The documentation for this class was generated from the following file: