Collaboration diagram for ESIVariableProcessor:

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::Pointeroutput
 
Trie & variables
 
ESIVarStatevarState
 
int state
 
size_t len
 
size_t pos
 
size_t var_pos
 
size_t done_pos
 
char * found_subref
 
char * found_default
 
ESIVarState::Variablevartype
 
ESIFunctioncurrentFunction
 

Detailed Description

Definition at line 534 of file VarState.cc.

Constructor & Destructor Documentation

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

Definition at line 803 of file VarState.cc.

References currentFunction.

Member Function Documentation

void ESIVariableProcessor::doFunction ( )
private
void ESIVariableProcessor::doIt ( )
void ESIVariableProcessor::eval ( ESIVarState::Variable var,
char const *  subref,
char const *  foundDefault 
)
private

Definition at line 563 of file VarState.cc.

References assert, ESIVarState::Variable::eval(), and varState.

Referenced by doFunction().

void ESIVariableProcessor::identifyFunction ( )
private

Definition at line 755 of file VarState.cc.

References currentFunction, ESIFunction::GetFunction(), LOOKFORSTART, pos, state, and var_pos.

Referenced by doIt().

bool ESIVariableProcessor::validChar ( char  c)
private

Definition at line 574 of file VarState.cc.

Referenced by doFunction().

Member Data Documentation

ESIFunction* ESIVariableProcessor::currentFunction
private

Definition at line 559 of file VarState.cc.

Referenced by doFunction(), identifyFunction(), and ~ESIVariableProcessor().

size_t ESIVariableProcessor::done_pos
private

Definition at line 555 of file VarState.cc.

Referenced by doFunction(), and doIt().

char* ESIVariableProcessor::found_default
private

Definition at line 557 of file VarState.cc.

Referenced by doFunction(), and doIt().

char* ESIVariableProcessor::found_subref
private

Definition at line 556 of file VarState.cc.

Referenced by doFunction(), and doIt().

size_t ESIVariableProcessor::len
private

Definition at line 552 of file VarState.cc.

Referenced by doFunction(), doIt(), and ESIVariableProcessor().

ESISegment::Pointer& ESIVariableProcessor::output
private

Definition at line 548 of file VarState.cc.

Referenced by doIt().

size_t ESIVariableProcessor::pos
private

Definition at line 553 of file VarState.cc.

Referenced by doFunction(), doIt(), and identifyFunction().

int ESIVariableProcessor::state
private

Definition at line 551 of file VarState.cc.

Referenced by doFunction(), and identifyFunction().

char* ESIVariableProcessor::string
private

Definition at line 547 of file VarState.cc.

size_t ESIVariableProcessor::var_pos
private

Definition at line 554 of file VarState.cc.

Referenced by doFunction(), and identifyFunction().

Trie& ESIVariableProcessor::variables
private

Definition at line 549 of file VarState.cc.

ESIVarState* ESIVariableProcessor::varState
private

Definition at line 550 of file VarState.cc.

Referenced by doFunction(), ESIVariableProcessor(), and eval().

ESIVarState::Variable* ESIVariableProcessor::vartype
private

Definition at line 558 of file VarState.cc.

Referenced by doFunction(), and ESIVariableProcessor().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors