Public Member Functions | Friends | List of all members
ExpressionBuilder::EBTermNode Class Referenceabstract

Base class for nodes in the expression tree. More...

#include <ExpressionBuilder.h>

Inheritance diagram for ExpressionBuilder::EBTermNode:

Public Member Functions

virtual ~EBTermNode ()
virtual EBTermNodeclone () const =0
virtual std::string stringify () const =0
virtual unsigned int substitute (const EBSubstitutionRuleList &)
virtual int precedence () const =0


std::ostream & operator<< (std::ostream &os, const EBTermNode &node)

Detailed Description

Base class for nodes in the expression tree.

Definition at line 60 of file ExpressionBuilder.h.

Constructor & Destructor Documentation

virtual ExpressionBuilder::EBTermNode::~EBTermNode ( )

Definition at line 63 of file ExpressionBuilder.h.

63 {};

Member Function Documentation

virtual EBTermNode* ExpressionBuilder::EBTermNode::clone ( ) const
pure virtual
virtual int ExpressionBuilder::EBTermNode::precedence ( ) const
pure virtual
virtual std::string ExpressionBuilder::EBTermNode::stringify ( ) const
pure virtual
virtual unsigned int ExpressionBuilder::EBTermNode::substitute ( const EBSubstitutionRuleList )

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const EBTermNode node 

Definition at line 69 of file ExpressionBuilder.h.

70  {
71  return os << node.stringify();
72  }

The documentation for this class was generated from the following file: