MADARA
3.1.8
|
Leaf node for an array reference. More...
Public Member Functions | |
ArrayRef (const std::string &key, Symbol *index, madara::knowledge::ThreadSafeContext &context) | |
constructors More... | |
virtual | ~ArrayRef (void) |
destructor More... | |
virtual int | add_precedence (int accumulated_precedence) |
returns the precedence level More... | |
virtual ComponentNode * | build (void) |
builds an equivalent ExpressionTree node More... | |
virtual int | precedence (void) |
abstract method for returning precedence level (higher value means higher precedence More... | |
Public Attributes | |
madara::knowledge::ThreadSafeContext & | context_ |
Context for variables. More... | |
Symbol * | index_ |
const std::string | key_ |
Key for retrieving value of this variable. More... | |
Symbol * | left_ |
logger::Logger * | logger_ |
left and right pointers More... | |
int | precedence_ |
Symbol * | right_ |
Leaf node for an array reference.
Definition at line 986 of file Interpreter.cpp.
madara::expression::ArrayRef::ArrayRef | ( | const std::string & | key, |
Symbol * | index, | ||
madara::knowledge::ThreadSafeContext & | context | ||
) |
constructors
Definition at line 3236 of file Interpreter.cpp.
|
virtual |
destructor
Definition at line 3245 of file Interpreter.cpp.
|
virtual |
returns the precedence level
Implements madara::expression::Symbol.
Definition at line 3251 of file Interpreter.cpp.
|
virtual |
builds an equivalent ExpressionTree node
Implements madara::expression::Symbol.
Definition at line 3258 of file Interpreter.cpp.
|
inlinevirtualinherited |
abstract method for returning precedence level (higher value means higher precedence
Definition at line 125 of file Interpreter.cpp.
madara::knowledge::ThreadSafeContext& madara::expression::ArrayRef::context_ |
Context for variables.
Definition at line 1007 of file Interpreter.cpp.
Symbol* madara::expression::ArrayRef::index_ |
Definition at line 1008 of file Interpreter.cpp.
const std::string madara::expression::ArrayRef::key_ |
Key for retrieving value of this variable.
Definition at line 1004 of file Interpreter.cpp.
|
inherited |
Definition at line 139 of file Interpreter.cpp.
|
inherited |
left and right pointers
Definition at line 138 of file Interpreter.cpp.
|
inherited |
Definition at line 141 of file Interpreter.cpp.
|
inherited |
Definition at line 140 of file Interpreter.cpp.