Mercurial > projects > ddmd
annotate dmd/STC.d @ 130:60bb0fe4563e
dmdfe 2.037 first main iteration
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Thu, 09 Sep 2010 22:51:44 +0100 |
parents | 10317f0c89a5 |
children | 206db751bd4c |
rev | line source |
---|---|
0 | 1 module dmd.STC; |
2 | |
130
60bb0fe4563e
dmdfe 2.037 first main iteration
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
0
diff
changeset
|
3 enum STC : long |
0 | 4 { |
5 STCundefined = 0, | |
6 STCstatic = 1, | |
7 STCextern = 2, | |
8 STCconst = 4, | |
9 STCfinal = 8, | |
10 STCabstract = 0x10, | |
11 STCparameter = 0x20, | |
12 STCfield = 0x40, | |
13 STCoverride = 0x80, | |
14 STCauto = 0x100, | |
15 STCsynchronized = 0x200, | |
16 STCdeprecated = 0x400, | |
17 STCin = 0x800, // in parameter | |
18 STCout = 0x1000, // out parameter | |
19 STClazy = 0x2000, // lazy parameter | |
20 STCforeach = 0x4000, // variable for foreach loop | |
21 STCcomdat = 0x8000, // should go into COMDAT record | |
22 STCvariadic = 0x10000, // variadic function argument | |
23 STCctorinit = 0x20000, // can only be set inside constructor | |
24 STCtemplateparameter = 0x40000, // template parameter | |
25 STCscope = 0x80000, // template parameter | |
26 STCinvariant = 0x100000, | |
27 STCimmutable = 0x100000, | |
28 STCref = 0x200000, | |
29 STCinit = 0x400000, // has explicit initializer | |
30 STCmanifest = 0x800000, // manifest constant | |
31 STCnodtor = 0x1000000, // don't run destructor | |
32 STCnothrow = 0x2000000, // never throws exceptions | |
33 STCpure = 0x4000000, // pure function | |
34 STCtls = 0x8000000, // thread local | |
35 STCalias = 0x10000000, // alias parameter | |
36 STCshared = 0x20000000, // accessible from multiple threads | |
37 STCgshared = 0x40000000, // accessible from multiple threads | |
38 // but not typed as "shared" | |
39 STC_TYPECTOR = (STCconst | STCimmutable | STCshared), | |
130
60bb0fe4563e
dmdfe 2.037 first main iteration
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
0
diff
changeset
|
40 STCproperty = 0x100000000, |
60bb0fe4563e
dmdfe 2.037 first main iteration
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
0
diff
changeset
|
41 STCsafe = 0x200000000, |
60bb0fe4563e
dmdfe 2.037 first main iteration
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
0
diff
changeset
|
42 STCtrusted = 0x400000000, |
60bb0fe4563e
dmdfe 2.037 first main iteration
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
0
diff
changeset
|
43 STCsystem = 0x800000000, |
0 | 44 } |
45 | |
46 import dmd.EnumUtils; | |
47 mixin(BringToCurrentScope!(STC)); |