annotate dmd/TypeInfoFunctionDeclaration.d @ 73:ef02e2e203c2

Updating to dmd2.033
author korDen
date Sat, 28 Aug 2010 19:42:41 +0400
parents
children 43073c7c7769
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
73
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
1 module dmd.TypeInfoFunctionDeclaration;
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
2
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
3 import dmd.Type;
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
4 import dmd.TypeInfoDeclaration;
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
5 import dmd.backend.dt_t;
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
6
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
7 class TypeInfoFunctionDeclaration : TypeInfoDeclaration
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
8 {
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
9 this(Type tinfo)
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
10 {
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
11 super(tinfo, 0);
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
12 type = Type.typeinfofunction.type;
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
13 }
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
14
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
15 void toDt(dt_t** pdt)
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
16 {
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
17 assert(false);
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
18 }
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
19 }
ef02e2e203c2 Updating to dmd2.033
korDen
parents:
diff changeset
20