annotate dmd/CSX.d @ 0:10317f0c89a5

Initial commit
author korDen
date Sat, 24 Oct 2009 08:42:06 +0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.CSX;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 enum CSX
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 CSXthis_ctor = 1, // called this()
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 CSXsuper_ctor = 2, // called super()
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 CSXthis = 4, // referenced this
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 CSXsuper = 8, // referenced super
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 CSXlabel = 0x10, // seen a label
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 CSXreturn = 0x20, // seen a return statement
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 CSXany_ctor = 0x40, // either this() or super() was called
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 import dmd.EnumUtils;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 mixin(BringToCurrentScope!(CSX));