A cross-platform functional programming language

ListTemplate Class Reference

List template: Stores elements in a list. More...

#include <Ast.hpp>

Inheritance diagram for ListTemplate:
TemplateTypeSpec ChildTypeSpec TypeSpec Node

List of all members.

Public Member Functions

 ListTemplate (const AccessType::T &accessType, const z::string &name, const Ast::QualifiedType &type)
 Default constructor.
const Ast::QualifiedTypegetType () const
 Returns the type that this templated container holds.

Private Member Functions

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

Private Attributes

const Ast::QualifiedType_type

Detailed Description

List template: Stores elements in a list.

Constructor & Destructor Documentation

ListTemplate ( const AccessType::T accessType,
const z::string name,
const Ast::QualifiedType type 
) [inline]

Default constructor.

accessTypeThe AccessType for this template definition
nameName of this template definition
typeType of items stored in this template definition

Member Function Documentation

const Ast::QualifiedType& getType ( ) const [inline]

Returns the type that this templated container holds.

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

Visitor pattern implementation.

visitorThe visitor object.

Implements TypeSpec.

Member Data Documentation

const Ast::QualifiedType& _type [private]
The type contained by this list

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