Ragel lexer/scanner interface for patch 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 patch expressions.
Definition at line 46 of file fieldExprScanner.H.
|
inlineexplicit |
Default construct, optionally setting debugging.
Definition at line 95 of file fieldExprScanner.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 128 of file fieldExprScanner.H.
References Foam::pos(), and scanner::process().
|
inline |
Evaluate string.
Definition at line 139 of file fieldExprScanner.H.
References scanner::process().
int debug |
Local debugging.
Definition at line 87 of file fieldExprScanner.H.
Referenced by scanner::scanner().