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