Mercurial > projects > dil
comparison trunk/src/Declarations.d @ 125:240a8b053803
- Added method parseStaticIfDeclaration and added class StaticIfDeclaration.
author | aziz |
---|---|
date | Mon, 09 Jul 2007 21:52:01 +0000 |
parents | 0f55c0ac6589 |
children | 0f0e7352e91d |
comparison
equal
deleted
inserted
replaced
124:d4c4cea6ee7f | 125:240a8b053803 |
---|---|
231 this.identCond = identCond; | 231 this.identCond = identCond; |
232 this.decls = decls; | 232 this.decls = decls; |
233 this.elseDecls = elseDecls; | 233 this.elseDecls = elseDecls; |
234 } | 234 } |
235 } | 235 } |
236 | |
237 class StaticIfDeclaration : Declaration | |
238 { | |
239 Expression condition; | |
240 Declaration[] ifDecls, elseDecls; | |
241 this(Expression condition, Declaration[] ifDecls, Declaration[] elseDecls) | |
242 { | |
243 super(true); | |
244 this.condition = condition; | |
245 this.ifDecls = ifDecls; | |
246 this.elseDecls = elseDecls; | |
247 } | |
248 } |