Ragel lexer/scanner interface for volume expressions. More...
Public Member Functions | |
scanner (bool withDebug=false) | |
Default construct, optionally setting debugging. More... | |
~scanner () | |
Destructor, deletes parser. More... | |
bool | process (const std::string &str, size_t pos, size_t len, parseDriver &driver_) |
Evaluate sub-string. More... | |
bool | process (const std::string &str, size_t pos, parseDriver &driver_) |
Evaluate sub-string. More... | |
bool | process (const std::string &str, parseDriver &driver_) |
Evaluate string. More... | |
Public Attributes | |
int | debug |
Local debugging. More... | |
Ragel lexer/scanner interface for volume expressions.
Definition at line 47 of file volumeExprScanner.H.
|
inlineexplicit |
Default construct, optionally setting debugging.
Definition at line 96 of file volumeExprScanner.H.
References scanner::debug.
~scanner | ( | ) |
Destructor, deletes parser.
bool process | ( | const std::string & | str, |
size_t | pos, | ||
size_t | len, | ||
parseDriver & | driver_ | ||
) |
Evaluate sub-string.
Referenced by parseDriver::parse(), and scanner::process().
|
inline |
Evaluate sub-string.
Definition at line 129 of file volumeExprScanner.H.
References Foam::pos(), and scanner::process().
|
inline |
Evaluate string.
Definition at line 140 of file volumeExprScanner.H.
References scanner::process().
int debug |
Local debugging.
Definition at line 88 of file volumeExprScanner.H.
Referenced by scanner::scanner().