Differences From Artifact [b98c3d30e8619e71]:
- File
polemy/ast.d
- 2010-11-07 10:32:59 - part of checkin [4198578702e] on branch trunk - Changed several documentation comments into ddoc compatible ones. (user: kinaba) [annotate]
To Artifact [e79569cb2ae94b8c]:
- File
polemy/ast.d
- 2010-11-07 12:20:47 - part of checkin [5d4cb856d8] on branch trunk - Added FuncallExpression (user: kinaba) [annotate]
55 class VarExpression : Expression 55 class VarExpression : Expression
56 { 56 {
57 string var; 57 string var;
58 mixin SimpleConstructor; 58 mixin SimpleConstructor;
59 mixin SimpleCompare; // do not take "pos" into account 59 mixin SimpleCompare; // do not take "pos" into account
60 } 60 }
61 61
62 class BinOpExpression : Expression | 62 class AssignExpression : Expression
63 { 63 {
64 string op; <
65 Expression lhs; 64 Expression lhs;
66 Expression rhs; 65 Expression rhs;
67 mixin SimpleConstructor; 66 mixin SimpleConstructor;
68 mixin SimpleCompare; // do not take "pos" into account 67 mixin SimpleCompare; // do not take "pos" into account
69 } 68 }
> 69 class FuncallExpression : Expression
> 70 {
> 71 Expression fun;
> 72 Expression[] args;
> 73 this(immutable LexPosition pos, Expression fun, Expression[] args...)
> 74 { super(pos); this.fun=fun; this.args=args.dup; }
> 75 mixin SimpleCompare; // do not take "pos" into account
> 76 }