MADARA
3.1.8
|
Abstract base class for all parse tree node operators. More...
Public Member Functions | |
UnaryOperator (logger::Logger &logger, Symbol *right, int precedence_=1) | |
constructor More... | |
virtual | ~UnaryOperator (void) |
destructor More... | |
virtual int | add_precedence (int accumulated_precedence)=0 |
virtual ComponentNode * | build (void)=0 |
abstract method for building an Expression ExpressionTree Node More... | |
virtual int | precedence (void) |
abstract method for returning precedence level (higher value means higher precedence More... | |
Public Attributes | |
Symbol * | left_ |
logger::Logger * | logger_ |
left and right pointers More... | |
int | precedence_ |
Symbol * | right_ |
Abstract base class for all parse tree node operators.
Definition at line 916 of file Interpreter.cpp.
madara::expression::UnaryOperator::UnaryOperator | ( | logger::Logger & | logger, |
Symbol * | right, | ||
int | precedence_ = 1 |
||
) |
constructor
Definition at line 1883 of file Interpreter.cpp.
|
virtual |
destructor
Definition at line 1891 of file Interpreter.cpp.
|
pure virtualinherited |
Implemented in madara::expression::Divide, madara::expression::Modulus, madara::expression::Multiply, madara::expression::Not, madara::expression::Preincrement, madara::expression::Predecrement, madara::expression::Postincrement, madara::expression::Postdecrement, madara::expression::Negate, madara::expression::SquareRootUnary, madara::expression::ForLoop, madara::expression::ConstArray, madara::expression::Function, madara::expression::LessThan, madara::expression::LessThanEqual, madara::expression::GreaterThan, madara::expression::GreaterThanEqual, madara::expression::Inequality, madara::expression::Equality, madara::expression::Assignment, madara::expression::Implies, madara::expression::Sequence, madara::expression::ReturnRight, madara::expression::Both, madara::expression::Or, madara::expression::And, madara::expression::Add, madara::expression::Subtract, madara::expression::List, madara::expression::VariableCompare, madara::expression::VariableMultiply, madara::expression::VariableIncrement, madara::expression::VariableDivide, madara::expression::VariableDecrement, madara::expression::ArrayRef, madara::expression::Variable, madara::expression::Number, madara::expression::SetClock, madara::expression::GetTimeSeconds, madara::expression::GetTime, madara::expression::GetClock, madara::expression::LogLevel, madara::expression::Type, madara::expression::Sleep, madara::expression::ToString, madara::expression::ToIntegers, madara::expression::ToInteger, madara::expression::ToHostDirs, madara::expression::ToDoubles, madara::expression::ToDouble, madara::expression::ToBuffer, madara::expression::SetScientific, madara::expression::SetPrecision, madara::expression::SetFixed, madara::expression::Size, madara::expression::WriteFile, madara::expression::ReadFile, madara::expression::RandInt, madara::expression::RandDouble, madara::expression::PrintSystemCalls, madara::expression::SquareRoot, madara::expression::Power, madara::expression::Tan, madara::expression::Sin, madara::expression::Cos, madara::expression::Print, madara::expression::Fragment, madara::expression::ExpandStatement, madara::expression::ExpandEnv, madara::expression::Eval, madara::expression::DeleteVariable, and madara::expression::ClearVariable.
|
pure virtualinherited |
abstract method for building an Expression ExpressionTree Node
Implemented in madara::expression::Divide, madara::expression::Modulus, madara::expression::Multiply, madara::expression::Not, madara::expression::Preincrement, madara::expression::Predecrement, madara::expression::Postincrement, madara::expression::Postdecrement, madara::expression::Negate, madara::expression::SquareRootUnary, madara::expression::ForLoop, madara::expression::ConstArray, madara::expression::Function, madara::expression::LessThan, madara::expression::LessThanEqual, madara::expression::GreaterThan, madara::expression::GreaterThanEqual, madara::expression::Inequality, madara::expression::Equality, madara::expression::Assignment, madara::expression::Implies, madara::expression::Sequence, madara::expression::ReturnRight, madara::expression::Both, madara::expression::Or, madara::expression::And, madara::expression::Add, madara::expression::Subtract, madara::expression::List, madara::expression::VariableCompare, madara::expression::VariableMultiply, madara::expression::VariableIncrement, madara::expression::VariableDivide, madara::expression::VariableDecrement, madara::expression::ArrayRef, madara::expression::Variable, madara::expression::Number, madara::expression::SetClock, madara::expression::GetTimeSeconds, madara::expression::GetTime, madara::expression::GetClock, madara::expression::LogLevel, madara::expression::Type, madara::expression::Sleep, madara::expression::ToString, madara::expression::ToIntegers, madara::expression::ToInteger, madara::expression::ToHostDirs, madara::expression::ToDoubles, madara::expression::ToDouble, madara::expression::ToBuffer, madara::expression::SetScientific, madara::expression::SetPrecision, madara::expression::SetFixed, madara::expression::Size, madara::expression::WriteFile, madara::expression::ReadFile, madara::expression::RandInt, madara::expression::RandDouble, madara::expression::PrintSystemCalls, madara::expression::SquareRoot, madara::expression::Power, madara::expression::Tan, madara::expression::Sin, madara::expression::Cos, madara::expression::Print, madara::expression::Fragment, madara::expression::ExpandStatement, madara::expression::ExpandEnv, madara::expression::Eval, madara::expression::DeleteVariable, and madara::expression::ClearVariable.
|
inlinevirtualinherited |
abstract method for returning precedence level (higher value means higher precedence
Definition at line 125 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.