Loading...
Searching...
No Matches
scanner Class Reference

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.

Detailed Description

Ragel lexer/scanner interface for patch expressions.

Note
Ragel code generated with the ./createCode script.

Definition at line 47 of file patchExprScanner.H.

Constructor & Destructor Documentation

◆ scanner()

scanner ( bool withDebug = false)
inlineexplicit

Default construct, optionally setting debugging.

Definition at line 96 of file patchExprScanner.H.

References debug.

◆ ~scanner()

~scanner ( )

Destructor, deletes parser.

Member Function Documentation

◆ process() [1/3]

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process() [2/3]

bool process ( const std::string & str,
size_t pos,
parseDriver & driver_ )
inline

Evaluate sub-string.

Definition at line 128 of file patchExprScanner.H.

References Foam::pos(), and process().

Here is the call graph for this function:

◆ process() [3/3]

bool process ( const std::string & str,
parseDriver & driver_ )
inline

Evaluate string.

Definition at line 140 of file patchExprScanner.H.

References process().

Here is the call graph for this function:

Member Data Documentation

◆ debug

int debug

Local debugging.

Definition at line 88 of file patchExprScanner.H.

Referenced by scanner().


The documentation for this class was generated from the following file: