Zen
A cross-platform functional programming language

ListList Class Reference

Concrete AST class for list containers. More...

#include <Ast.hpp>

Inheritance diagram for ListList:
ListBase< ListItem > Node

List of all members.

Public Member Functions

 ListList ()
 Default constructor.
const QualifiedTypehasType () const
 Returns a pointer to the type of list.
void setType (const QualifiedType *type)
 Set value type of contained elements.

Private Attributes

const QualifiedType_type
 List type.

Detailed Description

Concrete AST class for list containers.


Member Function Documentation

const QualifiedType* hasType ( ) const [inline]

Returns a pointer to the type of list.

Returns:
List type pointer if any, else 0
void setType ( const QualifiedType type) [inline]

Set value type of contained elements.

Parameters:
typeValue type of contained elements

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