#include <ArithmeticNode.h>
Public Types | |
| enum | OperatorType { Addition, Subtraction, Multiplication, Division, Modulo } |
Public Member Functions | |
| ArithmeticNode (unsigned long code_ref, ExpressionNode *lhs_expression_node, OperatorType operator_type, ExpressionNode *rhs_expression_node) | |
| ~ArithmeticNode (void) | |
| const ExpressionNode * | get_lhs_expression_node () const |
| const OperatorType | get_operator_type () const |
| const ExpressionNode * | get_rhs_expression_node () const |
| void | build (building::Builder *builder) const |
Represents an arithmetic expression node within the syntax tree built by the parser.
| el7::scripting::parsing::ArithmeticNode::ArithmeticNode | ( | unsigned long | code_ref, | |
| ExpressionNode * | lhs_expression_node, | |||
| OperatorType | operator_type, | |||
| ExpressionNode * | rhs_expression_node | |||
| ) |
Explicit constructor.
| el7::scripting::parsing::ArithmeticNode::~ArithmeticNode | ( | void | ) |
Destructor.
| void el7::scripting::parsing::ArithmeticNode::build | ( | building::Builder * | builder | ) | const [virtual] |
Implements el7::scripting::parsing::Node.
| const ExpressionNode* el7::scripting::parsing::ArithmeticNode::get_lhs_expression_node | ( | ) | const [inline] |
Returns the left-hand side expression node.
| const OperatorType el7::scripting::parsing::ArithmeticNode::get_operator_type | ( | ) | const [inline] |
Returns the arithmetic operator type.
| const ExpressionNode* el7::scripting::parsing::ArithmeticNode::get_rhs_expression_node | ( | ) | const [inline] |
Returns the right-hand side expression node.
1.7.1