Lemon parser interface for patch expressions grammar.
More...
#include <patchExprParser.H>
|
| | parser () |
| | Construct null.
|
| | ~parser () |
| | Destructor, deletes parser backend.
|
| void | start (parseDriver &driver_) |
| | Start parsing, with the given driver context.
|
| void | stop () |
| | Stop parsing, freeing the allocated parser.
|
| void | parse (int tokenId) |
| | Push token type to parser with default token.
|
| void | parse (int tokenId, scanToken tok) |
| | Push token type/value to parser.
|
|
| int | debug |
| | Local object debugging.
|
Lemon parser interface for patch expressions grammar.
Definition at line 44 of file patchExprParser.H.
◆ parser()
◆ ~parser()
◆ tokenName()
| word tokenName |
( |
int | tokenId | ) |
|
|
static |
Return the text name corresponding to the tokenId.
◆ printTokenNames()
| void printTokenNames |
( |
Ostream & | os | ) |
|
|
static |
Print all token names.
References os().
◆ printRules()
Print all rules.
References os().
◆ start()
Start parsing, with the given driver context.
◆ stop()
Stop parsing, freeing the allocated parser.
Referenced by ~parser().
◆ parse() [1/2]
| void parse |
( |
int | tokenId | ) |
|
Push token type to parser with default token.
◆ parse() [2/2]
Push token type/value to parser.
◆ debug
The documentation for this class was generated from the following file: