Rosetta Utilities  2014.35
Public Member Functions | List of all members
numeric::expression_parser::ASTVisitor Class Referenceabstract

Double-dispatch visitor pattern for abstract syntax tree. More...

#include <Arithmetic.hh>

Public Member Functions

virtual ~ASTVisitor ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
virtual void visit (ArithmeticASTExpression const &)=0
 
virtual void visit (ArithmeticASTFunction const &)=0
 
virtual void visit (ArithmeticASTTerm const &)=0
 
virtual void visit (ArithmeticASTFactor const &)=0
 
virtual void visit (ArithmeticASTValue const &)=0
 
virtual void visit (ArithmeticASTRestTerm const &)=0
 
virtual void visit (ArithmeticASTRestExpression const &)=0
 
virtual void visit (ArithmeticASTNode const &)=0
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Detailed Description

Double-dispatch visitor pattern for abstract syntax tree.

Constructor & Destructor Documentation

numeric::expression_parser::ASTVisitor::~ASTVisitor ( )
virtual

Automatically generated virtual destructor for class deriving directly from ReferenceCount.

Auto-generated virtual destructor

Member Function Documentation

virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTExpression const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTFunction const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTTerm const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTFactor const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTValue const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTRestTerm const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTRestExpression const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTNode const &  )
pure virtual

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