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


|
inline |
Evaluate sub-string.
Definition at line 128 of file patchExprScanner.H.
References Foam::pos(), and process().

|
inline |
Evaluate string.
Definition at line 140 of file patchExprScanner.H.
References process().

| int debug |