Public Types | Public Member Functions

el7::scripting::parsing::BooleanNode Class Reference

#include <BooleanNode.h>

Inheritance diagram for el7::scripting::parsing::BooleanNode:
el7::scripting::parsing::ExpressionNode el7::scripting::parsing::Node

List of all members.

Public Types

enum  OperatorType { And, Or, Xor }

Public Member Functions

 BooleanNode (unsigned long code_ref, ExpressionNode *lhs_expression_node, OperatorType operator_type, ExpressionNode *rhs_expression_node)
 ~BooleanNode (void)
const ExpressionNodeget_lhs_expression_node () const
const OperatorType get_operator_type () const
const ExpressionNodeget_rhs_expression_node () const
void build (building::Builder *builder) const

Detailed Description

Represents a binary boolean expression node within the syntax tree built by the parser.


Member Enumeration Documentation

Enumerator:
And 
Or 
Xor 

Constructor & Destructor Documentation

el7::scripting::parsing::BooleanNode::BooleanNode ( unsigned long  code_ref,
ExpressionNode lhs_expression_node,
OperatorType  operator_type,
ExpressionNode rhs_expression_node 
)

Explicit constructor.

el7::scripting::parsing::BooleanNode::~BooleanNode ( void   ) 

Destructor.


Member Function Documentation

void el7::scripting::parsing::BooleanNode::build ( building::Builder builder  )  const [virtual]
const ExpressionNode* el7::scripting::parsing::BooleanNode::get_lhs_expression_node (  )  const [inline]

Returns the left-hand side expression node.

const OperatorType el7::scripting::parsing::BooleanNode::get_operator_type (  )  const [inline]

Returns the boolean operator type.

const ExpressionNode* el7::scripting::parsing::BooleanNode::get_rhs_expression_node (  )  const [inline]

Returns the right-hand side expression node.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines