comparison dmd/TemplateValueParameter.d @ 187:b0d41ff5e0df

Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author Abscissa
date Tue, 07 Jun 2011 23:37:34 -0400
parents e3afd1303184
children
comparison
equal deleted inserted replaced
186:1a0c1126bc46 187:b0d41ff5e0df
23 import dmd.WANT; 23 import dmd.WANT;
24 import dmd.TOK; 24 import dmd.TOK;
25 25
26 import dmd.Dsymbol : isExpression; 26 import dmd.Dsymbol : isExpression;
27 27
28 import dmd.DDMDExtensions;
29
28 class TemplateValueParameter : TemplateParameter 30 class TemplateValueParameter : TemplateParameter
29 { 31 {
32 mixin insertMemberExtension!(typeof(this));
33
30 /* Syntax: 34 /* Syntax:
31 * valType ident : specValue = defaultValue 35 * valType ident : specValue = defaultValue
32 */ 36 */
33 37
34 Type valType; 38 Type valType;