comparison trunk/src/dil/ast/Parameters.d @ 635:b2fc028d8b55

Added class Visitor. Moved enums NodeCategory and NodeKind to new module dil.ast.NodesEnum. Commented out some version(D2) statements. Added new module dil.semantic.Pass1.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 13 Jan 2008 21:53:01 +0100
parents fac9e8b258fc
children 2a71e2f50e13
comparison
equal deleted inserted replaced
634:14e99ce74d06 635:b2fc028d8b55
112 this.specType = specType; 112 this.specType = specType;
113 this.defType = defType; 113 this.defType = defType;
114 } 114 }
115 } 115 }
116 116
117 version(D2) 117 // version(D2)
118 { 118 // {
119 class TemplateThisParameter : TemplateParameter 119 class TemplateThisParameter : TemplateParameter
120 { 120 {
121 TypeNode specType, defType; 121 TypeNode specType, defType;
122 this(Identifier* ident, TypeNode specType, TypeNode defType) 122 this(Identifier* ident, TypeNode specType, TypeNode defType)
123 { 123 {
128 this.ident = ident; 128 this.ident = ident;
129 this.specType = specType; 129 this.specType = specType;
130 this.defType = defType; 130 this.defType = defType;
131 } 131 }
132 } 132 }
133 } 133 // }
134 134
135 class TemplateValueParameter : TemplateParameter 135 class TemplateValueParameter : TemplateParameter
136 { 136 {
137 TypeNode valueType; 137 TypeNode valueType;
138 Expression specValue, defValue; 138 Expression specValue, defValue;