tan  0.0.1
tanlang::ASTVisitor< Derived > Class Template Reference
Inheritance diagram for tanlang::ASTVisitor< Derived >:

Public Member Functions

void VisitProgram (Program *p)
 
void VisitPackage (Package *p)
 
void VisitIdentifier (Identifier *p)
 
void VisitParenthesis (Parenthesis *p)
 
void VisitIf (If *p)
 
void VisitVarDecl (VarDecl *p)
 
void VisitArgDecl (ArgDecl *p)
 
void VisitReturn (Return *p)
 
void VisitCompoundStmt (CompoundStmt *p)
 
void VisitBinaryOrUnary (BinaryOrUnary *p)
 
void VisitBinaryOperator (BinaryOperator *p)
 
void VisitUnaryOperator (UnaryOperator *p)
 
void VisitCast (Cast *p)
 
void VisitAssignment (Assignment *p)
 
void VisitFunctionCall (FunctionCall *p)
 
void VisitFunctionDecl (FunctionDecl *p)
 
void VisitImport (Import *p)
 
void VisitIntrinsic (Intrinsic *p)
 
void VisitArrayLiteral (ArrayLiteral *p)
 
void VisitCharLiteral (CharLiteral *p)
 
void VisitBoolLiteral (BoolLiteral *p)
 
void VisitIntegerLiteral (IntegerLiteral *p)
 
void VisitFloatLiteral (FloatLiteral *p)
 
void VisitStringLiteral (StringLiteral *p)
 
void VisitNullPointerLiteral (NullPointerLiteral *p)
 
void VisitMemberAccess (MemberAccess *p)
 
void VisitStructDecl (StructDecl *p)
 
void VisitLoop (Loop *p)
 
void VisitBreakContinue (BreakContinue *p)
 
void VisitVarRef (VarRef *p)
 
void VisitPackageDecl (PackageDecl *p)
 
void visit (ASTBase *p)
 
virtual void default_visit (ASTBase *)
 

Detailed Description

template<typename Derived>
class tanlang::ASTVisitor< Derived >

Definition at line 58 of file ast_visitor.h.

Member Function Documentation

◆ VisitArgDecl()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitArgDecl ( ArgDecl *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 66 of file ast_visitor.h.

◆ VisitArrayLiteral()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitArrayLiteral ( ArrayLiteral *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 78 of file ast_visitor.h.

◆ VisitAssignment()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitAssignment ( Assignment *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 73 of file ast_visitor.h.

◆ VisitBinaryOperator()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitBinaryOperator ( BinaryOperator *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 70 of file ast_visitor.h.

◆ VisitBinaryOrUnary()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitBinaryOrUnary ( BinaryOrUnary *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 69 of file ast_visitor.h.

◆ VisitBoolLiteral()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitBoolLiteral ( BoolLiteral *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 80 of file ast_visitor.h.

◆ VisitBreakContinue()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitBreakContinue ( BreakContinue *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 88 of file ast_visitor.h.

◆ VisitCast()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitCast ( Cast *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 72 of file ast_visitor.h.

◆ VisitCharLiteral()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitCharLiteral ( CharLiteral *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 79 of file ast_visitor.h.

◆ VisitCompoundStmt()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitCompoundStmt ( CompoundStmt *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 68 of file ast_visitor.h.

◆ VisitFloatLiteral()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitFloatLiteral ( FloatLiteral *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 82 of file ast_visitor.h.

◆ VisitFunctionCall()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitFunctionCall ( FunctionCall *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 74 of file ast_visitor.h.

◆ VisitFunctionDecl()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitFunctionDecl ( FunctionDecl *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 75 of file ast_visitor.h.

◆ VisitIdentifier()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitIdentifier ( Identifier *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 62 of file ast_visitor.h.

◆ VisitIf()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitIf ( If *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 64 of file ast_visitor.h.

◆ VisitImport()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitImport ( Import *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 76 of file ast_visitor.h.

◆ VisitIntegerLiteral()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitIntegerLiteral ( IntegerLiteral *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 81 of file ast_visitor.h.

◆ VisitIntrinsic()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitIntrinsic ( Intrinsic *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 77 of file ast_visitor.h.

◆ VisitLoop()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitLoop ( Loop *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 87 of file ast_visitor.h.

◆ VisitMemberAccess()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitMemberAccess ( MemberAccess *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 85 of file ast_visitor.h.

◆ VisitNullPointerLiteral()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitNullPointerLiteral ( NullPointerLiteral *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 84 of file ast_visitor.h.

◆ VisitPackage()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitPackage ( Package *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 61 of file ast_visitor.h.

◆ VisitPackageDecl()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitPackageDecl ( PackageDecl *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 90 of file ast_visitor.h.

◆ VisitParenthesis()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitParenthesis ( Parenthesis *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 63 of file ast_visitor.h.

◆ VisitProgram()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitProgram ( Program *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 60 of file ast_visitor.h.

◆ VisitReturn()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitReturn ( Return *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 67 of file ast_visitor.h.

◆ VisitStringLiteral()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitStringLiteral ( StringLiteral *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 83 of file ast_visitor.h.

◆ VisitStructDecl()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitStructDecl ( StructDecl *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 86 of file ast_visitor.h.

◆ VisitUnaryOperator()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitUnaryOperator ( UnaryOperator *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 71 of file ast_visitor.h.

◆ VisitVarDecl()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitVarDecl ( VarDecl *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 65 of file ast_visitor.h.

◆ VisitVarRef()

template<typename Derived >
void tanlang::ASTVisitor< Derived >::VisitVarRef ( VarRef *  p)
inline

The interface VisitXX calls this->VisitXXImpl() if defined by Derived

Definition at line 89 of file ast_visitor.h.


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