diff trunk/src/Expressions.d @ 100:538e8b546669

- Added code for parsing IsExpressions. - Added class SpecializationType for IsExpressions. - Added missing default statement in parseDeclaratorSuffix(). - Added parameter identOptional to parseDeclarator().
author aziz
date Sat, 07 Jul 2007 13:55:01 +0000
parents 6b8c248f5911
children 6f3c5473c5e5
line wrap: on
line diff
--- a/trunk/src/Expressions.d	Sat Jul 07 12:30:01 2007 +0000
+++ b/trunk/src/Expressions.d	Sat Jul 07 13:55:01 2007 +0000
@@ -514,6 +514,13 @@
 
 class IsExpression : Expression
 {
-  this()
-  {}
+  Type type;
+  string ident;
+  SpecializationType specType;
+  this(Type type, string ident, SpecializationType specType)
+  {
+    this.type = type;
+    this.ident = ident;
+    this.specType = specType;
+  }
 }