Mercurial > projects > ddmd
comparison dmd/AnonDeclaration.d @ 53:a8b50ff7f201
ForeachStatement.syntaxCopy
SliceExp.syntaxCopy
AnonDeclaration.syntaxCopy
SwitchStatement.syntaxCopy
CaseStatement.syntaxCopy
BreakStatement.syntaxCopy
ThrowStatement.syntaxCopy
NewExp.syntaxCopy
DefaultStatement.syntaxCopy
AssertExp.syntaxCopy
ClassDeclaration.syntaxCopy
TypeTypedef.constConv
eval_builtin
ComplexExp.isConst
DVCondition.syntaxCopy
OrExp.getIntRange
AndExp.getIntRange
getMask
IntegerExp.getIntRange
Type.sizemask
CastExp.getIntRange
Expression.getIntRange
author | korDen |
---|---|
date | Sat, 21 Aug 2010 12:15:47 +0400 |
parents | 10317f0c89a5 |
children | 2e2a5c3f943a |
comparison
equal
deleted
inserted
replaced
52:69d078c417c6 | 53:a8b50ff7f201 |
---|---|
25 this.isunion = isunion; | 25 this.isunion = isunion; |
26 } | 26 } |
27 | 27 |
28 Dsymbol syntaxCopy(Dsymbol s) | 28 Dsymbol syntaxCopy(Dsymbol s) |
29 { | 29 { |
30 assert(false); | 30 AnonDeclaration ad; |
31 | |
32 assert(!s); | |
33 ad = new AnonDeclaration(loc, isunion, Dsymbol.arraySyntaxCopy(decl)); | |
34 return ad; | |
31 } | 35 } |
32 | 36 |
33 void semantic(Scope sc) | 37 void semantic(Scope sc) |
34 { | 38 { |
35 //printf("\tAnonDeclaration::semantic %s %p\n", isunion ? "union" : "struct", this); | 39 //printf("\tAnonDeclaration::semantic %s %p\n", isunion ? "union" : "struct", this); |