![]() |
Zen
A cross-platform functional programming language
|
Concrete AST class for dictionary containers. More...
#include <Ast.hpp>
Public Member Functions | |
| DictList () | |
| Default constructor. | |
| const QualifiedType * | hasKey () const |
| Returns a pointer to the type of dictionary key. | |
| void | setKeyType (const QualifiedType *key) |
| Set key type of contained elements. | |
| const QualifiedType * | hasType () const |
| Returns a pointer to the type of dictionary value. | |
| void | setValueType (const QualifiedType *type) |
| Set value type of contained elements. | |
Private Attributes | |
| const QualifiedType * | _key |
| Dictionary key type reference. | |
| const QualifiedType * | _type |
| Dictionary value type reference. | |
Concrete AST class for dictionary containers.
| const QualifiedType* hasKey | ( | ) | const [inline] |
Returns a pointer to the type of dictionary key.
| const QualifiedType* hasType | ( | ) | const [inline] |
Returns a pointer to the type of dictionary value.
| void setKeyType | ( | const QualifiedType * | key | ) | [inline] |
Set key type of contained elements.
| key | Key type of contained elements |
| void setValueType | ( | const QualifiedType * | type | ) | [inline] |
Set value type of contained elements.
| type | Value type of contained elements |