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

void ESIVariableProcessor::doFunction ( )
private

◆ doIt()

void ESIVariableProcessor::doIt ( )

◆ eval()

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

◆ identifyFunction()

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

◆ validChar()

bool ESIVariableProcessor::validChar ( char  c)
private

Definition at line 574 of file VarState.cc.

Referenced by doFunction().

Member Data Documentation

◆ currentFunction

ESIFunction* ESIVariableProcessor::currentFunction
private

Definition at line 559 of file VarState.cc.

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

◆ done_pos

size_t ESIVariableProcessor::done_pos
private

Definition at line 555 of file VarState.cc.

Referenced by doFunction(), and doIt().

◆ found_default

char* ESIVariableProcessor::found_default
private

Definition at line 557 of file VarState.cc.

Referenced by doFunction(), and doIt().

◆ found_subref

char* ESIVariableProcessor::found_subref
private

Definition at line 556 of file VarState.cc.

Referenced by doFunction(), and doIt().

◆ len

size_t ESIVariableProcessor::len
private

Definition at line 552 of file VarState.cc.

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

◆ output

ESISegment::Pointer& ESIVariableProcessor::output
private

Definition at line 548 of file VarState.cc.

Referenced by doIt().

◆ pos

size_t ESIVariableProcessor::pos
private

Definition at line 553 of file VarState.cc.

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

◆ state

int ESIVariableProcessor::state
private

Definition at line 551 of file VarState.cc.

Referenced by doFunction(), and identifyFunction().

◆ string

char* ESIVariableProcessor::string
private

Definition at line 547 of file VarState.cc.

◆ var_pos

size_t ESIVariableProcessor::var_pos
private

Definition at line 554 of file VarState.cc.

Referenced by doFunction(), and identifyFunction().

◆ variables

Trie& ESIVariableProcessor::variables
private

Definition at line 549 of file VarState.cc.

◆ varState

ESIVarState* ESIVariableProcessor::varState
private

Definition at line 550 of file VarState.cc.

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

◆ vartype

ESIVarState::Variable* ESIVariableProcessor::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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors