Zen
A cross-platform functional programming language
|
Base class for all user-defined types. More...
#include <Ast.hpp>
Public Types | |
enum | NativeType { ntNone, ntIntrinsic, ntSystem, ntQuery } |
Some UDT's have special meaning and treated differently in native code. More... | |
Public Member Functions | |
const NativeType & | getNativeType () const |
Returns the native type of this UDT. | |
Protected Member Functions | |
UserDefinedTypeSpec (const AccessType::T &accessType, const z::string &name, const NativeType &ntype) | |
Default constructor. | |
Private Attributes | |
const NativeType | _ntype |
The UDT's native type. |
Base class for all user-defined types.
This class is the base class for all user-defined types such as struct's, function's, etc
enum NativeType |
UserDefinedTypeSpec | ( | const AccessType::T & | accessType, |
const z::string & | name, | ||
const NativeType & | ntype | ||
) | [inline, protected] |
Default constructor.
accessType | The AccessType for this UDT. |
name | Name of the UDT |
ntype | The NativeType of this UDT. |
const NativeType& getNativeType | ( | ) | const [inline] |
Returns the native type of this UDT.