34 #ifndef expressions_patchExprParser_H 35 #define expressions_patchExprParser_H 56 static constexpr
const char*
const prompt_ =
"patchExpr:";
102 void parse(
int tokenId);
Driver for patch expressions.
static word tokenName(int tokenId)
Return the text name corresponding to the tokenId.
void start(parseDriver &driver_)
Start parsing, with the given driver context.
int debug
Local object debugging.
A low-level input/scan token content. No defined constructors/destructors. All memory management is m...
~parser()
Destructor, deletes parser backend.
A class for handling words, derived from Foam::string.
Lemon parser interface for patch expressions grammar.
void parse(int tokenId)
Push token type to parser with default token.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
static void printRules(Ostream &os)
Print all rules.
void stop()
Stop parsing, freeing the allocated parser.
static void printTokenNames(Ostream &os)
Print all token names.