MADARA
3.1.8
|
Function node of the parse tree. More...
Public Member Functions | |
Function (const std::string &name, madara::knowledge::ThreadSafeContext &context) | |
constructor More... | |
virtual | ~Function (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_ |
Symbol * | left_ |
logger::Logger * | logger_ |
left and right pointers More... | |
std::string | name_ |
ComponentNodes | nodes_ |
int | precedence_ |
Symbol * | right_ |
Function node of the parse tree.
Definition at line 1543 of file Interpreter.cpp.
madara::expression::Function::Function | ( | const std::string & | name, |
madara::knowledge::ThreadSafeContext & | context | ||
) |
constructor
Definition at line 1976 of file Interpreter.cpp.
|
virtual |
destructor
Definition at line 1984 of file Interpreter.cpp.
|
virtual |
returns the precedence level
Implements madara::expression::Symbol.
Definition at line 1990 of file Interpreter.cpp.
|
virtual |
builds an equivalent ExpressionTree node
Implements madara::expression::Symbol.
Definition at line 1997 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::Function::context_ |
Definition at line 1561 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.
std::string madara::expression::Function::name_ |
Definition at line 1560 of file Interpreter.cpp.
|
inherited |
Definition at line 177 of file Interpreter.cpp.
|
inherited |
Definition at line 141 of file Interpreter.cpp.
|
inherited |
Definition at line 140 of file Interpreter.cpp.