Mercurial > projects > dil
changeset 657:3bd9660f71ac
Moved class Statement to its own module.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 15 Jan 2008 16:41:12 +0100 |
parents | 436e3d270585 |
children | a35e6debfb4c |
files | trunk/src/dil/ast/Statement.d trunk/src/dil/ast/Statements.d |
diffstat | 2 files changed, 16 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trunk/src/dil/ast/Statement.d Tue Jan 15 16:41:12 2008 +0100 @@ -0,0 +1,15 @@ +/++ + Author: Aziz Köksal + License: GPL3 ++/ +module dil.ast.Statement; + +import dil.ast.Node; + +abstract class Statement : Node +{ + this() + { + super(NodeCategory.Statement); + } +}
--- a/trunk/src/dil/ast/Statements.d Tue Jan 15 16:37:31 2008 +0100 +++ b/trunk/src/dil/ast/Statements.d Tue Jan 15 16:41:12 2008 +0100 @@ -4,6 +4,7 @@ +/ module dil.ast.Statements; +public import dil.ast.Statement; import dil.ast.Node; import dil.ast.Expressions; import dil.ast.Declarations; @@ -11,14 +12,6 @@ import dil.ast.Parameters; import dil.lexer.IdTable; -abstract class Statement : Node -{ - this() - { - super(NodeCategory.Statement); - } -} - class Statements : Statement { this()