Zen
A cross-platform functional programming language
|
TypeSpec Visitor interface class. More...
#include <Ast.hpp>
Public Member Functions | |
Visitor () | |
Default constructor. | |
virtual | ~Visitor () |
Virtual destructor. | |
virtual void | visit (const Ast::Unit &type)=0 |
Visit Unit. | |
virtual void | visit (const Ast::Namespace &type)=0 |
Visit Namespace. | |
virtual void | visit (const Ast::StructDef &type)=0 |
Visit StructDef. | |
virtual void | visit (const Ast::EnumDef &type)=0 |
Visit EnumDef. | |
virtual void | visit (const Ast::EnumMemberDef &type)=0 |
Visit EnumMemberDef. | |
virtual void | visit (const Ast::OutParam &type)=0 |
Visit OutParam. | |
virtual void | visit (const Ast::SharedDef &type)=0 |
Visit SharedDef. | |
virtual void | visit (const Ast::TypeDecl &type)=0 |
Visit TypeDecl. | |
virtual void | visit (const Ast::TypeDef &type)=0 |
Visit TypeDef. | |
virtual void | visit (const Ast::OwnerTemplate &type)=0 |
Visit OwnerTemplate. | |
virtual void | visit (const Ast::ListTemplate &type)=0 |
Visit ListTemplate. | |
virtual void | visit (const Ast::DictTemplate &type)=0 |
Visit DictTemplate. | |
virtual void | visit (const Ast::FunctionDef &type)=0 |
Visit FunctionDef. |
virtual void visit | ( | const Ast::Unit & | type | ) | [pure virtual] |
Visit Unit.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::FunctionDef & | type | ) | [pure virtual] |
Visit FunctionDef.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::DictTemplate & | type | ) | [pure virtual] |
Visit DictTemplate.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::ListTemplate & | type | ) | [pure virtual] |
Visit ListTemplate.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::OwnerTemplate & | type | ) | [pure virtual] |
Visit OwnerTemplate.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::TypeDef & | type | ) | [pure virtual] |
Visit TypeDef.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::TypeDecl & | type | ) | [pure virtual] |
Visit TypeDecl.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::SharedDef & | type | ) | [pure virtual] |
Visit SharedDef.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::OutParam & | type | ) | [pure virtual] |
Visit OutParam.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::EnumMemberDef & | type | ) | [pure virtual] |
Visit EnumMemberDef.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::EnumDef & | type | ) | [pure virtual] |
Visit EnumDef.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::StructDef & | type | ) | [pure virtual] |
Visit StructDef.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.
virtual void visit | ( | const Ast::Namespace & | type | ) | [pure virtual] |
Visit Namespace.
type | The instance to be visited. |
Implemented in TypeSpecRefGenerator, TypeSpecMemberGenerator, TypeSpecMetaTypeDeclarator, and TypeSpecDefGenerator.