MADARA
3.1.8
|
Iterative looping node of the parse tree. More...
Public Member Functions | |
ForLoop (Symbol *precondition, Symbol *condition, Symbol *postcondition, Symbol *body, madara::knowledge::ThreadSafeContext &context) | |
constructor More... | |
virtual | ~ForLoop (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 | |
Symbol * | body_ |
Symbol * | condition_ |
madara::knowledge::ThreadSafeContext & | context_ |
Symbol * | left_ |
logger::Logger * | logger_ |
left and right pointers More... | |
Symbol * | postcondition_ |
int | precedence_ |
Symbol * | precondition_ |
Symbol * | right_ |
Iterative looping node of the parse tree.
Definition at line 1594 of file Interpreter.cpp.
madara::expression::ForLoop::ForLoop | ( | Symbol * | precondition, |
Symbol * | condition, | ||
Symbol * | postcondition, | ||
Symbol * | body, | ||
madara::knowledge::ThreadSafeContext & | context | ||
) |
constructor
Definition at line 3002 of file Interpreter.cpp.
|
virtual |
destructor
Definition at line 3013 of file Interpreter.cpp.
|
virtual |
returns the precedence level
Implements madara::expression::Symbol.
Definition at line 3023 of file Interpreter.cpp.
|
virtual |
builds an equivalent ExpressionTree node
Implements madara::expression::Symbol.
Definition at line 3030 of file Interpreter.cpp.
|
inlinevirtualinherited |
abstract method for returning precedence level (higher value means higher precedence
Definition at line 125 of file Interpreter.cpp.
Symbol* madara::expression::ForLoop::body_ |
Definition at line 1615 of file Interpreter.cpp.
Symbol* madara::expression::ForLoop::condition_ |
Definition at line 1613 of file Interpreter.cpp.
madara::knowledge::ThreadSafeContext& madara::expression::ForLoop::context_ |
Definition at line 1616 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.
Symbol* madara::expression::ForLoop::postcondition_ |
Definition at line 1614 of file Interpreter.cpp.
|
inherited |
Definition at line 141 of file Interpreter.cpp.
Symbol* madara::expression::ForLoop::precondition_ |
Definition at line 1612 of file Interpreter.cpp.
|
inherited |
Definition at line 140 of file Interpreter.cpp.