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