Mercurial > projects > dil
diff trunk/src/dil/ast/Expressions.d @ 646:68953760d569
Added class ParenExpression.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Mon, 14 Jan 2008 17:21:45 +0100 |
parents | 89ee7802c978 |
children | 6a1cb6768bd2 |
line wrap: on
line diff
--- a/trunk/src/dil/ast/Expressions.d Mon Jan 14 16:01:21 2008 +0100 +++ b/trunk/src/dil/ast/Expressions.d Mon Jan 14 17:21:45 2008 +0100 @@ -926,6 +926,17 @@ } } +/// ParenthesisExpression := "(" Expression ")" +class ParenExpression : Expression +{ + Expression next; + this(Expression next) + { + mixin(set_kind); + this.next = next; + } +} + // version(D2) // { class TraitsExpression : Expression