Mercurial > projects > dil
diff trunk/src/Declarations.d @ 118:379f33cbd521
- Added parseDestructorDeclaration() and DestructorDeclaration class.
author | aziz |
---|---|
date | Mon, 09 Jul 2007 16:59:05 +0000 |
parents | 79857de26e86 |
children | 363cd39022f9 |
line wrap: on
line diff
--- a/trunk/src/Declarations.d Mon Jul 09 16:36:05 2007 +0000 +++ b/trunk/src/Declarations.d Mon Jul 09 16:59:05 2007 +0000 @@ -143,3 +143,13 @@ this.statements = statements; } } + +class DestructorDeclaration : Declaration +{ + Statement[] statements; + this(Statement[] statements) + { + super(true); + this.statements = statements; + } +}