![]() |
Zen
A cross-platform functional programming language
|
#include <Parser.hpp>
Public Member Functions | |
| Parser (ParseContext &pctx) | |
| Default constructor. | |
| ~Parser () | |
| Destructor. | |
| void | feedToken (const Token &token) |
| Feed a token into the parser. | |
| void | parse () |
| Parse tokens read so far. | |
Private Attributes | |
| ParseContext & | _pctx |
| The parser context. | |
| void * | _parser |
| The internal parser instance. | |
The Parser class.
| Parser | ( | ParseContext & | pctx | ) |
Default constructor.
| pctx | The parser context |
| void feedToken | ( | const Token & | token | ) |
Feed a token into the parser.
| token | The token |