Mercurial > projects > ddmd
comparison dmd/TemplateAliasParameter.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | 89cc05dbdae1 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:10317f0c89a5 |
---|---|
1 module dmd.TemplateAliasParameter; | |
2 | |
3 import dmd.TemplateParameter; | |
4 import dmd.Loc; | |
5 import dmd.Identifier; | |
6 import dmd.Type; | |
7 import dmd.ArrayTypes; | |
8 import dmd.Scope; | |
9 import dmd.Declaration; | |
10 import dmd.MATCH; | |
11 import dmd.OutBuffer; | |
12 import dmd.HdrGenState; | |
13 import dmd.Dsymbol; | |
14 | |
15 class TemplateAliasParameter : TemplateParameter | |
16 { | |
17 /* Syntax: | |
18 * specType ident : specAlias = defaultAlias | |
19 */ | |
20 | |
21 Type specType; | |
22 Object specAlias; | |
23 Object defaultAlias; | |
24 | |
25 static Dsymbol sdummy; | |
26 | |
27 this(Loc loc, Identifier ident, Type specType, Object specAlias, Object defaultAlias) | |
28 { | |
29 assert(false); | |
30 super(loc, ident); | |
31 } | |
32 | |
33 TemplateAliasParameter isTemplateAliasParameter() | |
34 { | |
35 assert(false); | |
36 } | |
37 | |
38 TemplateParameter syntaxCopy() | |
39 { | |
40 assert(false); | |
41 } | |
42 | |
43 void declareParameter(Scope sc) | |
44 { | |
45 assert(false); | |
46 } | |
47 | |
48 void semantic(Scope) | |
49 { | |
50 assert(false); | |
51 } | |
52 | |
53 void print(Object oarg, Object oded) | |
54 { | |
55 assert(false); | |
56 } | |
57 | |
58 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | |
59 { | |
60 assert(false); | |
61 } | |
62 | |
63 Object specialization() | |
64 { | |
65 assert(false); | |
66 } | |
67 | |
68 Object defaultArg(Loc loc, Scope sc) | |
69 { | |
70 assert(false); | |
71 } | |
72 | |
73 bool overloadMatch(TemplateParameter) | |
74 { | |
75 assert(false); | |
76 } | |
77 | |
78 MATCH matchArg(Scope sc, Objects tiargs, int i, TemplateParameters parameters, Objects dedtypes, Declaration* psparam, int flags) | |
79 { | |
80 assert(false); | |
81 } | |
82 | |
83 void* dummyArg() | |
84 { | |
85 assert(false); | |
86 } | |
87 } |