OpenClonk
aul::AstVisitor Class Reference

#include <C4AulAST.h>

Inheritance diagram for aul::AstVisitor:
[legend]

Public Member Functions

virtual ~AstVisitor ()=default
 
virtual void visit (const ::aul::ast::Noop *)
 
virtual void visit (const ::aul::ast::StringLit *)
 
virtual void visit (const ::aul::ast::IntLit *)
 
virtual void visit (const ::aul::ast::BoolLit *)
 
virtual void visit (const ::aul::ast::ArrayLit *)
 
virtual void visit (const ::aul::ast::ProplistLit *)
 
virtual void visit (const ::aul::ast::NilLit *)
 
virtual void visit (const ::aul::ast::ThisLit *)
 
virtual void visit (const ::aul::ast::VarExpr *n)
 
virtual void visit (const ::aul::ast::UnOpExpr *)
 
virtual void visit (const ::aul::ast::BinOpExpr *)
 
virtual void visit (const ::aul::ast::AssignmentExpr *)
 
virtual void visit (const ::aul::ast::SubscriptExpr *)
 
virtual void visit (const ::aul::ast::SliceExpr *)
 
virtual void visit (const ::aul::ast::CallExpr *)
 
virtual void visit (const ::aul::ast::ParExpr *)
 
virtual void visit (const ::aul::ast::Block *)
 
virtual void visit (const ::aul::ast::Return *)
 
virtual void visit (const ::aul::ast::ForLoop *)
 
virtual void visit (const ::aul::ast::RangeLoop *)
 
virtual void visit (const ::aul::ast::DoLoop *)
 
virtual void visit (const ::aul::ast::WhileLoop *)
 
virtual void visit (const ::aul::ast::Break *)
 
virtual void visit (const ::aul::ast::Continue *)
 
virtual void visit (const ::aul::ast::If *)
 
virtual void visit (const ::aul::ast::VarDecl *)
 
virtual void visit (const ::aul::ast::FunctionDecl *)
 
virtual void visit (const ::aul::ast::FunctionExpr *)
 
virtual void visit (const ::aul::ast::IncludePragma *)
 
virtual void visit (const ::aul::ast::AppendtoPragma *)
 
virtual void visit (const ::aul::ast::Script *)
 
template<class T >
void visit (const T *)=delete
 

Detailed Description

Definition at line 58 of file C4AulAST.h.

Constructor & Destructor Documentation

◆ ~AstVisitor()

virtual aul::AstVisitor::~AstVisitor ( )
virtualdefault

Member Function Documentation

◆ visit() [1/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::Noop )
inlinevirtual

Reimplemented in C4AulCompiler::CodegenAstVisitor.

Definition at line 63 of file C4AulAST.h.

63 {}

◆ visit() [2/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::StringLit )
inlinevirtual

Reimplemented in C4AulCompiler::ConstexprEvaluator, and C4AulCompiler::CodegenAstVisitor.

Definition at line 64 of file C4AulAST.h.

64 {}

◆ visit() [3/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::IntLit )
inlinevirtual

Reimplemented in C4AulCompiler::ConstexprEvaluator, and C4AulCompiler::CodegenAstVisitor.

Definition at line 65 of file C4AulAST.h.

65 {}

◆ visit() [4/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::BoolLit )
inlinevirtual

Reimplemented in C4AulCompiler::ConstexprEvaluator, and C4AulCompiler::CodegenAstVisitor.

Definition at line 66 of file C4AulAST.h.

66 {}

◆ visit() [5/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::ArrayLit )
inlinevirtual

◆ visit() [6/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::ProplistLit )
inlinevirtual

◆ visit() [7/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::NilLit )
inlinevirtual

Reimplemented in C4AulCompiler::ConstexprEvaluator, and C4AulCompiler::CodegenAstVisitor.

Definition at line 69 of file C4AulAST.h.

69 {}

◆ visit() [8/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::ThisLit )
inlinevirtual

Reimplemented in C4AulCompiler::ConstexprEvaluator, and C4AulCompiler::CodegenAstVisitor.

Definition at line 70 of file C4AulAST.h.

70 {}

◆ visit() [9/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::VarExpr n)
inlinevirtual

Reimplemented in C4AulCompiler::ConstexprEvaluator, and C4AulCompiler::CodegenAstVisitor.

Definition at line 71 of file C4AulAST.h.

71 {}

◆ visit() [10/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::UnOpExpr )
inlinevirtual

◆ visit() [11/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::BinOpExpr )
inlinevirtual

◆ visit() [12/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::AssignmentExpr )
inlinevirtual

◆ visit() [13/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::SubscriptExpr )
inlinevirtual

◆ visit() [14/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::SliceExpr )
inlinevirtual

◆ visit() [15/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::CallExpr )
inlinevirtual

◆ visit() [16/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::ParExpr )
inlinevirtual

◆ visit() [17/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::Block )
inlinevirtual

Reimplemented in aul::DefaultRecursiveVisitor, and C4AulCompiler::CodegenAstVisitor.

Definition at line 79 of file C4AulAST.h.

79 {}

◆ visit() [18/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::Return )
inlinevirtual

Reimplemented in aul::DefaultRecursiveVisitor, and C4AulCompiler::CodegenAstVisitor.

Definition at line 80 of file C4AulAST.h.

80 {}

◆ visit() [19/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::ForLoop )
inlinevirtual

Reimplemented in aul::DefaultRecursiveVisitor, and C4AulCompiler::CodegenAstVisitor.

Definition at line 81 of file C4AulAST.h.

81 {}

◆ visit() [20/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::RangeLoop )
inlinevirtual

◆ visit() [21/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::DoLoop )
inlinevirtual

Reimplemented in aul::DefaultRecursiveVisitor, and C4AulCompiler::CodegenAstVisitor.

Definition at line 83 of file C4AulAST.h.

83 {}

◆ visit() [22/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::WhileLoop )
inlinevirtual

Reimplemented in aul::DefaultRecursiveVisitor, and C4AulCompiler::CodegenAstVisitor.

Definition at line 84 of file C4AulAST.h.

84 {}

◆ visit() [23/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::Break )
inlinevirtual

Reimplemented in C4AulCompiler::CodegenAstVisitor.

Definition at line 85 of file C4AulAST.h.

85 {}

◆ visit() [24/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::Continue )
inlinevirtual

Reimplemented in C4AulCompiler::CodegenAstVisitor.

Definition at line 86 of file C4AulAST.h.

86 {}

◆ visit() [25/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::If )
inlinevirtual

Reimplemented in aul::DefaultRecursiveVisitor, and C4AulCompiler::CodegenAstVisitor.

Definition at line 87 of file C4AulAST.h.

87 {}

◆ visit() [26/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::VarDecl )
inlinevirtual

◆ visit() [27/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::FunctionDecl )
inlinevirtual

◆ visit() [28/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::FunctionExpr )
inlinevirtual

◆ visit() [29/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::IncludePragma )
inlinevirtual

Reimplemented in C4AulCompiler::PreparseAstVisitor.

Definition at line 91 of file C4AulAST.h.

91 {}

◆ visit() [30/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::AppendtoPragma )
inlinevirtual

Reimplemented in C4AulCompiler::PreparseAstVisitor.

Definition at line 92 of file C4AulAST.h.

92 {}

◆ visit() [31/32]

virtual void aul::AstVisitor::visit ( const ::aul::ast::Script )
inlinevirtual

◆ visit() [32/32]

template<class T >
void aul::AstVisitor::visit ( const T *  )
delete

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