Mercurial > projects > dil
comparison trunk/src/dil/ast/Declarations.d @ 696:c67d2c3c0b3d
Wrote code for SemanticPass2.visit(ImportExpression).
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Thu, 24 Jan 2008 19:09:48 +0100 |
parents | 1ae72234db26 |
children | b0732f766ba0 |
comparison
equal
deleted
inserted
replaced
695:170ddcdc9711 | 696:c67d2c3c0b3d |
---|---|
30 | 30 |
31 void opCatAssign(CompoundDeclaration ds) | 31 void opCatAssign(CompoundDeclaration ds) |
32 { | 32 { |
33 addChildren(ds.children); | 33 addChildren(ds.children); |
34 } | 34 } |
35 | |
36 Declaration[] decls() | |
37 { | |
38 return cast(Declaration[])this.children; | |
39 } | |
35 } | 40 } |
36 | 41 |
37 /// Single semicolon. | 42 /// Single semicolon. |
38 class EmptyDeclaration : Declaration | 43 class EmptyDeclaration : Declaration |
39 { | 44 { |