Mercurial > projects > dil
comparison trunk/src/dil/TypesEnum.d @ 522:812f497b20dc
Added module dil.TypesEnum.
Added struct TypeMetaInfo and metaInfoTable array.
Added type member to class Expression.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 16 Dec 2007 19:14:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
521:772ffdb18fd4 | 522:812f497b20dc |
---|---|
1 /++ | |
2 Author: Aziz Köksal | |
3 License: GPL3 | |
4 +/ | |
5 module dil.TypesEnum; | |
6 | |
7 enum TYP | |
8 { | |
9 Error, | |
10 // Basic types. | |
11 Char, // char | |
12 Wchar, // wchar | |
13 Dchar, // dchar | |
14 Bool, // bool | |
15 Byte, // int8 | |
16 Ubyte, // uint8 | |
17 Short, // int16 | |
18 Ushort, // uint16 | |
19 Int, // int32 | |
20 Uint, // uint32 | |
21 Long, // int64 | |
22 Ulong, // uint64 | |
23 Cent, // int128 | |
24 Ucent, // uint128 | |
25 Float, // float32 | |
26 Double, // float64 | |
27 Real, // float80 | |
28 Ifloat, // imaginary float32 | |
29 Idouble, // imaginary float64 | |
30 Ireal, // imaginary float80 | |
31 Cfloat, // complex float32 | |
32 Cdouble, // complex float64 | |
33 Creal, // complex float80 | |
34 Void, // void | |
35 | |
36 None, // TypeNone in the specs. Why? | |
37 | |
38 DArray, // Dynamic | |
39 SArray, // Static | |
40 AArray, // Associative | |
41 | |
42 Enum, | |
43 Struct, | |
44 Class, | |
45 Typedef, | |
46 Function, | |
47 Delegate, | |
48 Pointer, | |
49 Reference, | |
50 Identifier, | |
51 TInstance, // Template instance. | |
52 Tuple, | |
53 Const, // D2 | |
54 Invariant, // D2 | |
55 } |