34 #ifndef expressions_fieldExprParser_H 35 #define expressions_fieldExprParser_H 56 static constexpr
const char*
const prompt_ =
"fieldExpr:";
102 void parse(
int tokenId);
void start(parseDriver &driver_)
Start parsing, with the given driver context.
static word tokenName(int tokenId)
Return the text name corresponding to the tokenId.
Lemon parser interface for field expressions grammar.
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 parse(int tokenId)
Push token type to parser with default token.
A class for handling words, derived from Foam::string.
static void printTokenNames(Ostream &os)
Print all token names.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static void printRules(Ostream &os)
Print all rules.
OBJstream os(runTime.globalPath()/outputName)
Driver for generic primitive field expressions.
int debug
Local object debugging.
~parser()
Destructor, deletes parser backend.