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::ArithmeticASTNode Class Referenceabstract

Base class for Abstract Syntax Tree (AST) for the simple Arithmetic language defined here. More...

#include <Arithmetic.hh>

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

Public Member Functions

 ~ArithmeticASTNode () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
virtual void visit (ASTVisitor &visitor) 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

Base class for Abstract Syntax Tree (AST) for the simple Arithmetic language defined here.

Constructor & Destructor Documentation

numeric::expression_parser::ArithmeticASTNode::~ArithmeticASTNode ( )
overridedefault

Automatically generated virtual destructor for class deriving directly from VirtualBase.

Auto-generated virtual destructor

Member Function Documentation

virtual void numeric::expression_parser::ArithmeticASTNode::visit ( ASTVisitor visitor) const
pure virtual

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