comparison trunk/src/dil/ast/Declarations.d @ 751:8caf18892c1b

Improved DDocEmitter and fixed bugs.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 11 Feb 2008 22:39:58 +0100
parents 7917811f8116
children bc812843603c
comparison
equal deleted inserted replaced
750:40a52ea29e3b 751:8caf18892c1b
380 380
381 void setLinkageType(LinkageType linkageType) 381 void setLinkageType(LinkageType linkageType)
382 { 382 {
383 this.linkageType = linkageType; 383 this.linkageType = linkageType;
384 } 384 }
385
386 bool isTemplatized()
387 { // E.g.: void func(T)(T t)
388 // ^ params.begin.prevNWS
389 return params.begin.prevNWS.kind == TOK.RParen;
390 }
385 } 391 }
386 392
387 /// VariablesDeclaration := Type? Identifier ("=" Init)? ("," Identifier ("=" Init)?)* ";" 393 /// VariablesDeclaration := Type? Identifier ("=" Init)? ("," Identifier ("=" Init)?)* ";"
388 class VariablesDeclaration : Declaration 394 class VariablesDeclaration : Declaration
389 { 395 {