A resolver that serves variables from an std::map-based symbol table
Public Member Functions | |
virtual SymbolTable * | dup () const override |
virtual cValue | readVariable (Context *context, const char *name) override |
virtual cValue | readVariable (Context *context, const char *name, intval_t index) override |
Public Member Functions inherited from cDynamicExpression::IResolver | |
virtual cValue | readMember (Context *context, const cValue &object, const char *name) |
virtual cValue | readMember (Context *context, const cValue &object, const char *name, intval_t index) |
virtual cValue | callFunction (Context *context, const char *name, cValue argv[], int argc) |
virtual cValue | callMethod (Context *context, const cValue &object, const char *name, cValue argv[], int argc) |
|
inlineoverridevirtual |
Create and return an exact copy of this object.
Implements cDynamicExpression::IResolver.
Return the value of a variable with the given name.
Reimplemented from cDynamicExpression::IResolver.
|
overridevirtual |
Return the value of an element of an array variable with the given name. Expression syntax: name[index]
Reimplemented from cDynamicExpression::IResolver.