The Lexer class.
More...
#include <Lexer.hpp>
List of all members.
Detailed Description
Constructor & Destructor Documentation
Default constructor.
- Parameters:
-
Member Function Documentation
Read token from queue.
- Returns:
- The next token
void enque |
( |
const Token & |
token | ) |
[inline, private] |
Add token to queue.
- Parameters:
-
bool hasToken |
( |
| ) |
const [inline] |
Check if token is available.
- Returns:
- True if token is present
Read tokens from scanner and push into queue.
- Parameters:
-
- Returns:
- 0 on success, else error code
The documentation for this class was generated from the following files:
- /home/renji/Data/projects/zenlang/sources/zbl/Lexer.hpp
- /home/renji/Data/projects/zenlang/sources/zbl/Lexer.cpp