37 #ifndef expressions_patchExprScanner_H 38 #define expressions_patchExprScanner_H 91 explicit scanner(
bool withDebug =
false)
112 const std::string& str,
size_t pos,
size_t len,
119 const std::string& str,
size_t pos,
123 return process(str,
pos, std::string::npos, driver_);
127 bool process(
const std::string& str, parseDriver& driver_)
129 return process(str, 0, std::string::npos, driver_);
bool process(const std::string &str, size_t pos, size_t len, parseDriver &driver_)
Evaluate sub-string.
scanner(bool withDebug=false)
Default construct, optionally setting debugging.
Driver for patch expressions.
~scanner()
Destructor, deletes parser.
dimensionedScalar pos(const dimensionedScalar &ds)
A class for handling words, derived from Foam::string.
Lemon parser interface for patch expressions grammar.
int debug
Local debugging.
Ragel lexer/scanner interface for patch expressions.