Zen
A cross-platform functional programming language
|
List template: Stores elements in a list. More...
#include <Ast.hpp>
Public Member Functions | |
ListTemplate (const AccessType::T &accessType, const z::string &name, const Ast::QualifiedType &type) | |
Default constructor. | |
const Ast::QualifiedType & | getType () 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 |
List template: Stores elements in a list.
ListTemplate | ( | const AccessType::T & | accessType, |
const z::string & | name, | ||
const Ast::QualifiedType & | type | ||
) | [inline] |
Default constructor.
accessType | The AccessType for this template definition |
name | Name of this template definition |
type | Type of items stored in this template definition |
const Ast::QualifiedType& getType | ( | ) | const [inline] |
Returns the type that this templated container holds.
void visit | ( | TypeSpec::Visitor & | visitor | ) | const [private, virtual] |
const Ast::QualifiedType& _type [private] |