#include <StreamCommandParser.h>
Public Member Functions | |
ParseAction () | |
ParseAction (ActionType a, int &target, int source) | |
ParseAction (ActionType a, int &target) | |
ParseAction (ActionType a, bool &target, bool source) | |
ParseAction (ActionType a, bool &target) | |
ParseAction (ActionType a, int(*act)(TokenDefinition *, StreamToken &, void *), void *parm) | |
bool | isValid () |
int | applyAction (TokenDefinition *def, StreamToken &token, void *userparms) |
Protected Attributes | |
ActionType | action |
size_t | itemlength |
int * | int_output |
bool * | bool_output |
int | int_value |
bool | bool_value |
int(* | afp )(TokenDefinition *, StreamToken &, void *) |
void * | actionParm |
Definition at line 199 of file StreamCommandParser.h.
|
inline |
Definition at line 202 of file StreamCommandParser.h.
References action, actionParm, afp, bool_output, bool_value, int_output, int_value, and NoAction.
|
inline |
Definition at line 213 of file StreamCommandParser.h.
References action, actionParm, afp, bool_output, bool_value, int_output, and int_value.
|
inline |
Definition at line 224 of file StreamCommandParser.h.
References action, actionParm, afp, bool_output, bool_value, int_output, and int_value.
|
inline |
Definition at line 235 of file StreamCommandParser.h.
References action, actionParm, afp, bool_output, bool_value, int_output, and int_value.
|
inline |
Definition at line 246 of file StreamCommandParser.h.
References action, actionParm, afp, bool_output, bool_value, int_output, and int_value.
|
inline |
Definition at line 257 of file StreamCommandParser.h.
References action, actionParm, afp, bool_output, bool_value, int_output, and int_value.
int ParseAction::applyAction | ( | TokenDefinition * | def, |
StreamToken & | token, | ||
void * | userparms | ||
) |
Apply an a parse table action.
def | The token definition this belongs to. |
token | The token parsing stream. |
userparms | An opaque argument value. |
Definition at line 181 of file StreamCommandParser.cpp.
References action, actionParm, afp, BitAnd, BitOr, bool_output, bool_value, CallItem, int_output, int_value, ME, MEB, MF, MI, MIB, SetBool, and SetItem.
|
inline |
Definition at line 268 of file StreamCommandParser.h.
References action, and NoAction.
Referenced by parser().
|
protected |
Definition at line 273 of file StreamCommandParser.h.
Referenced by applyAction(), isValid(), and ParseAction().
|
protected |
Definition at line 281 of file StreamCommandParser.h.
Referenced by applyAction(), and ParseAction().
|
protected |
Definition at line 280 of file StreamCommandParser.h.
Referenced by applyAction(), and ParseAction().
|
protected |
Definition at line 276 of file StreamCommandParser.h.
Referenced by applyAction(), and ParseAction().
|
protected |
Definition at line 278 of file StreamCommandParser.h.
Referenced by applyAction(), and ParseAction().
|
protected |
Definition at line 275 of file StreamCommandParser.h.
Referenced by applyAction(), and ParseAction().
|
protected |
Definition at line 277 of file StreamCommandParser.h.
Referenced by applyAction(), and ParseAction().
|
protected |
Definition at line 274 of file StreamCommandParser.h.