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