MADARA
3.1.8
|
Increment a variable by a certain amount. More...
Public Member Functions | |
VariableCompare (Symbol *lhs, madara::knowledge::KnowledgeRecord value, Symbol *rhs, int compare_type, madara::knowledge::ThreadSafeContext &context) | |
constructors More... | |
virtual | ~VariableCompare (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 | |
int | compare_type_ |
type of comparison. See madara/Globals.h More... | |
madara::knowledge::ThreadSafeContext & | context_ |
Context for variables. More... | |
Symbol * | left_ |
logger::Logger * | logger_ |
left and right pointers More... | |
int | precedence_ |
Symbol * | rhs_ |
rhs is used for complex rhs types (not a simple number) More... | |
Symbol * | right_ |
madara::knowledge::KnowledgeRecord | value_ |
value can be faster than rhs_, so use it if possible More... | |
Increment a variable by a certain amount.
Definition at line 1148 of file Interpreter.cpp.
madara::expression::VariableCompare::VariableCompare | ( | Symbol * | lhs, |
madara::knowledge::KnowledgeRecord | value, | ||
Symbol * | rhs, | ||
int | compare_type, | ||
madara::knowledge::ThreadSafeContext & | context | ||
) |
constructors
Definition at line 3395 of file Interpreter.cpp.
|
virtual |
destructor
Definition at line 3405 of file Interpreter.cpp.
|
virtual |
returns the precedence level
Implements madara::expression::Symbol.
Definition at line 3411 of file Interpreter.cpp.
|
virtual |
builds an equivalent ExpressionTree node
Implements madara::expression::Symbol.
Definition at line 3418 of file Interpreter.cpp.
|
inlinevirtualinherited |
abstract method for returning precedence level (higher value means higher precedence
Definition at line 125 of file Interpreter.cpp.
int madara::expression::VariableCompare::compare_type_ |
type of comparison. See madara/Globals.h
Definition at line 1176 of file Interpreter.cpp.
madara::knowledge::ThreadSafeContext& madara::expression::VariableCompare::context_ |
Context for variables.
Definition at line 1179 of file Interpreter.cpp.
Symbol* madara::expression::VariableCompare::left_ |
Definition at line 1167 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.
Symbol* madara::expression::VariableCompare::rhs_ |
rhs is used for complex rhs types (not a simple number)
Definition at line 1173 of file Interpreter.cpp.
|
inherited |
Definition at line 140 of file Interpreter.cpp.
madara::knowledge::KnowledgeRecord madara::expression::VariableCompare::value_ |
value can be faster than rhs_, so use it if possible
Definition at line 1170 of file Interpreter.cpp.