Public Member Functions | |
ESIVariableProcessor (char *, ESISegment::Pointer &, Trie &, ESIVarState *) | |
~ESIVariableProcessor () | |
void | doIt () |
Private Member Functions | |
bool | validChar (char c) |
void | eval (ESIVarState::Variable *var, char const *subref, char const *foundDefault) |
void | doFunction () |
void | identifyFunction () |
Private Attributes | |
char * | string |
ESISegment::Pointer & | output |
Trie & | variables |
ESIVarState * | varState |
int | state |
size_t | len |
size_t | pos |
size_t | var_pos |
size_t | done_pos |
char * | found_subref |
char * | found_default |
ESIVarState::Variable * | vartype |
ESIFunction * | currentFunction |
Detailed Description
Definition at line 534 of file VarState.cc.
Constructor & Destructor Documentation
◆ ESIVariableProcessor()
ESIVariableProcessor::ESIVariableProcessor | ( | char * | aString, |
ESISegment::Pointer & | aSegment, | ||
Trie & | aTrie, | ||
ESIVarState * | aState | ||
) |
Definition at line 608 of file VarState.cc.
References ESIVarState::GetVar(), len, varState, and vartype.
◆ ~ESIVariableProcessor()
ESIVariableProcessor::~ESIVariableProcessor | ( | ) |
Definition at line 803 of file VarState.cc.
References currentFunction.
Member Function Documentation
◆ doFunction()
|
private |
Definition at line 631 of file VarState.cc.
References currentFunction, debugs, done_pos, eval(), fatal(), found_default, found_subref, ESIVarState::GetVar(), len, LOOKFORSTART, pos, safe_free, state, validChar(), var_pos, varState, vartype, and xstrndup().
Referenced by doIt().
◆ doIt()
void ESIVariableProcessor::doIt | ( | ) |
Definition at line 770 of file VarState.cc.
References assert, doFunction(), done_pos, found_default, found_subref, identifyFunction(), len, ESISegment::ListAppend(), output, pos, and safe_free.
Referenced by ESIVarState::doIt().
◆ eval()
|
private |
Definition at line 563 of file VarState.cc.
References assert, ESIVarState::Variable::eval(), and varState.
Referenced by doFunction().
◆ identifyFunction()
|
private |
Definition at line 755 of file VarState.cc.
References currentFunction, ESIFunction::GetFunction(), LOOKFORSTART, pos, state, and var_pos.
Referenced by doIt().
◆ validChar()
|
private |
Definition at line 574 of file VarState.cc.
Referenced by doFunction().
Member Data Documentation
◆ currentFunction
|
private |
Definition at line 559 of file VarState.cc.
Referenced by ~ESIVariableProcessor(), doFunction(), and identifyFunction().
◆ done_pos
|
private |
Definition at line 555 of file VarState.cc.
Referenced by doFunction(), and doIt().
◆ found_default
|
private |
Definition at line 557 of file VarState.cc.
Referenced by doFunction(), and doIt().
◆ found_subref
|
private |
Definition at line 556 of file VarState.cc.
Referenced by doFunction(), and doIt().
◆ len
|
private |
Definition at line 552 of file VarState.cc.
Referenced by ESIVariableProcessor(), doFunction(), and doIt().
◆ output
|
private |
Definition at line 548 of file VarState.cc.
Referenced by doIt().
◆ pos
|
private |
Definition at line 553 of file VarState.cc.
Referenced by doFunction(), doIt(), and identifyFunction().
◆ state
|
private |
Definition at line 551 of file VarState.cc.
Referenced by doFunction(), and identifyFunction().
◆ string
|
private |
Definition at line 547 of file VarState.cc.
◆ var_pos
|
private |
Definition at line 554 of file VarState.cc.
Referenced by doFunction(), and identifyFunction().
◆ variables
|
private |
Definition at line 549 of file VarState.cc.
◆ varState
|
private |
Definition at line 550 of file VarState.cc.
Referenced by ESIVariableProcessor(), doFunction(), and eval().
◆ vartype
|
private |
Definition at line 558 of file VarState.cc.
Referenced by ESIVariableProcessor(), and doFunction().
The documentation for this class was generated from the following file:
- src/esi/VarState.cc