Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>

Inheritance diagram for numeric::expression_parser::ASTVisitor:
Inheritance graph
[legend]

Public Member Functions

 ~ASTVisitor () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
virtual void visit (ArithmeticASTExpression const &)=0
 
virtual void visit (ArithmeticASTOrClause const &)=0
 
virtual void visit (ArithmeticASTAndClause 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 (ArithmeticASTRestAndClause const &)=0
 
virtual void visit (ArithmeticASTRestOrClause const &)=0
 
virtual void visit (ArithmeticASTRestExpression const &)=0
 
virtual void visit (ArithmeticASTNode const &)=0
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Detailed Description

Double-dispatch visitor pattern for abstract syntax tree.

Constructor & Destructor Documentation

numeric::expression_parser::ASTVisitor::~ASTVisitor ( )
overridedefault

Automatically generated virtual destructor for class deriving directly from VirtualBase.

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 ( ArithmeticASTOrClause const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTAndClause 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 ( ArithmeticASTRestAndClause const &  )
pure virtual
virtual void numeric::expression_parser::ASTVisitor::visit ( ArithmeticASTRestOrClause 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: