Mercurial > projects > dil
comparison trunk/src/dil/ast/Statements.d @ 680:6b3e397229c5
Renamed Statements, Declarations and EnumMember.
Statements -> CompoundStatement.
Declarations -> CompoundDeclaration.
EnumMember -> EnumMemberDeclaration.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 18 Jan 2008 23:59:41 +0100 |
parents | 73bac90f90b2 |
children | 95a3c28c0f64 |
comparison
equal
deleted
inserted
replaced
679:ff6971637f88 | 680:6b3e397229c5 |
---|---|
10 import dil.ast.Declarations; | 10 import dil.ast.Declarations; |
11 import dil.ast.Types; | 11 import dil.ast.Types; |
12 import dil.ast.Parameters; | 12 import dil.ast.Parameters; |
13 import dil.lexer.IdTable; | 13 import dil.lexer.IdTable; |
14 | 14 |
15 class Statements : Statement | 15 class CompoundStatement : Statement |
16 { | 16 { |
17 this() | 17 this() |
18 { | 18 { |
19 mixin(set_kind); | 19 mixin(set_kind); |
20 } | 20 } |
416 } | 416 } |
417 } | 417 } |
418 | 418 |
419 class AsmStatement : Statement | 419 class AsmStatement : Statement |
420 { | 420 { |
421 Statements statements; | 421 CompoundStatement statements; |
422 this(Statements statements) | 422 this(CompoundStatement statements) |
423 { | 423 { |
424 mixin(set_kind); | 424 mixin(set_kind); |
425 addChild(statements); | 425 addChild(statements); |
426 this.statements = statements; | 426 this.statements = statements; |
427 } | 427 } |