37 #ifndef expressions_fieldExprScanner_H 38 #define expressions_fieldExprScanner_H 90 explicit scanner(
bool withDebug =
false)
111 const std::string& str,
size_t pos,
size_t len,
118 const std::string& str,
size_t pos,
122 return process(str,
pos, std::string::npos, driver_);
126 bool process(
const std::string& str, parseDriver& driver_)
128 return process(str, 0, std::string::npos, driver_);
Ragel lexer/scanner interface for patch expressions.
Lemon parser interface for field expressions grammar.
bool process(const std::string &str, size_t pos, size_t len, parseDriver &driver_)
Evaluate sub-string.
~scanner()
Destructor, deletes parser.
dimensionedScalar pos(const dimensionedScalar &ds)
scanner(bool withDebug=false)
Default construct, optionally setting debugging.
int debug
Local debugging.
A class for handling words, derived from Foam::string.
Driver for generic primitive field expressions.