Go to the documentation of this file.
34 #ifndef expressions_volumeExprParser_H
35 #define expressions_volumeExprParser_H
55 static constexpr
const char*
const prompt_ =
"volExpr:";
A class for handling words, derived from Foam::string.
~parser()
Destructor, deletes parser backend.
void start(parseDriver &driver_)
Start parsing, with the given driver context.
Driver for volume, surface, point field expressions.
static word tokenName(int tokenId)
Return the text name corresponding to the tokenId.
static void printRules(Ostream &os)
Print all rules.
void parse(int tokenId, scanToken *tokenVal)
Push token/value to parser.
Lemon parser interface for volume expressions grammar.
int debug
Local object debugging.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static void printTokenNames(Ostream &os)
Print all token names.
void stop()
Stop parsing, freeing the allocated parser.