Go to the documentation of this file.
37 #ifndef expressions_patchExprScanner_H
38 #define expressions_patchExprScanner_H
108 explicit scanner(
bool withDebug =
false)
129 const std::string& str,
size_t pos,
size_t len,
136 const std::string& str,
size_t pos,
140 return process(str,
pos, std::string::npos, driver_);
146 return process(str, 0, std::string::npos, driver_);
A class for handling words, derived from Foam::string.
~scanner()
Destructor, deletes parser.
bool process(const std::string &str, parseDriver &driver_)
Evaluate string.
scanner(bool withDebug=false)
Construct null, optionally setting debugging.
Driver for patch expressions.
Lemon parser interface for patch expressions grammar.
bool process(const std::string &str, size_t pos, size_t len, parseDriver &driver_)
Evaluate sub-string.
int debug
Local debugging.
scanToken()
Null construct, bit-wise zero for union content.
Ragel lexer/scanner interface for patch expressions.
dimensionedScalar pos(const dimensionedScalar &ds)