@@ -65,8 +65,9 @@ Expression rhs; mixin SimpleConstructor; mixin SimpleCompare; // do not take "pos" into account } + class FuncallExpression : Expression { Expression fun; Expression[] args; @@ -73,4 +74,12 @@ this(immutable LexPosition pos, Expression fun, Expression[] args...) { super(pos); this.fun=fun; this.args=args.dup; } mixin SimpleCompare; // do not take "pos" into account } + +class FunLiteralExpression : Expression +{ + string[] params; + Program funbody; + mixin SimpleConstructor; + mixin SimpleCompare; // do not take "pos" into account +}