diff trunk/src/Expressions.d @ 287:211bdd69397d

- Added classes AsmTypeExpression, AsmOffsetExpression, AsmSegExpression, AsmPostBracketExpression and AsmBracketExpression. - Implemented method parseAsmExpression() and every sub-method connecting to parseAsmPrimaryExpression().
author aziz
date Tue, 07 Aug 2007 20:07:01 +0000
parents 0c1a2eba0c91
children 833b301497f4
line wrap: on
line diff
--- a/trunk/src/Expressions.d	Tue Aug 07 17:02:01 2007 +0000
+++ b/trunk/src/Expressions.d	Tue Aug 07 20:07:01 2007 +0000
@@ -833,3 +833,49 @@
     this.values = values;
   }
 }
+
+class AsmTypeExpression : UnaryExpression
+{
+  this(Expression e)
+  {
+    super(e);
+    mixin(set_kind);
+  }
+}
+
+class AsmOffsetExpression : UnaryExpression
+{
+  this(Expression e)
+  {
+    super(e);
+    mixin(set_kind);
+  }
+}
+
+class AsmSegExpression : UnaryExpression
+{
+  this(Expression e)
+  {
+    super(e);
+    mixin(set_kind);
+  }
+}
+
+class AsmPostBracketExpression : UnaryExpression
+{
+  this(Expression e)
+  {
+    super(e);
+    mixin(set_kind);
+  }
+}
+
+class AsmBracketExpression : Expression
+{
+  Expression e;
+  this(Expression e)
+  {
+    mixin(set_kind);
+    this.e = e;
+  }
+}