Zen
A cross-platform functional programming language

TypeDecl Class Reference

Base class for typedef declarations, typically used to declare native types. More...

#include <Ast.hpp>

Inheritance diagram for TypeDecl:
TypeDefTypeSpec UserDefinedTypeSpec ChildTypeSpec TypeSpec Node

List of all members.

Public Member Functions

 TypeDecl (const AccessType::T &accessType, const z::string &name, const NativeType &ntype)
 Default constructor.

Private Member Functions

virtual void visit (TypeSpec::Visitor &visitor) const
 Visitor pattern implementation.

Detailed Description

Base class for typedef declarations, typically used to declare native types.


Constructor & Destructor Documentation

TypeDecl ( const AccessType::T accessType,
const z::string name,
const NativeType ntype 
) [inline]

Default constructor.

Parameters:
accessTypeThe AccessType for this typedef declaration
nameName of this typedef declaration
ntypeThe NativeType of this typedef declaration.

Member Function Documentation

void visit ( TypeSpec::Visitor visitor) const [private, virtual]

Visitor pattern implementation.

Parameters:
visitorThe visitor object.

Implements TypeSpec.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines