Mercurial > projects > dil
comparison trunk/src/dil/ast/Declarations.d @ 660:085bac570c7e
Implemented class DefaultVisitor.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 15 Jan 2008 23:26:49 +0100 |
parents | 436e3d270585 |
children | a1f8d8f2db38 |
comparison
equal
deleted
inserted
replaced
659:304331ca2f95 | 660:085bac570c7e |
---|---|
457 this(Expression condition, Declaration ifDecls, Declaration elseDecls) | 457 this(Expression condition, Declaration ifDecls, Declaration elseDecls) |
458 { | 458 { |
459 super.hasBody = true; | 459 super.hasBody = true; |
460 mixin(set_kind); | 460 mixin(set_kind); |
461 addChild(condition); | 461 addChild(condition); |
462 addOptChild(ifDecls); | 462 addChild(ifDecls); |
463 addOptChild(elseDecls); | 463 addOptChild(elseDecls); |
464 | 464 |
465 this.condition = condition; | 465 this.condition = condition; |
466 this.ifDecls = ifDecls; | 466 this.ifDecls = ifDecls; |
467 this.elseDecls = elseDecls; | 467 this.elseDecls = elseDecls; |