Index: sdk/lib/_internal/compiler/implementation/js/nodes.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js/nodes.dart b/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
index cfc88a536003f900e807ba8b7fb54450f315d0b6..19d008bc9f928c652abb2d742c4973d1029e9bed 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
@@ -429,6 +429,9 @@ class LiteralStatement extends Statement { |
abstract class Expression extends Node { |
int get precedenceLevel; |
+ |
+ PropertyAccess dot(String name) => new PropertyAccess.field(this, name); |
+ Call callOn(List<Expression> arguments) => new Call(this, arguments); |
floitsch
2012/11/29 16:49:05
I would prefer "callWith".
sra1
2012/11/29 20:39:10
Done.
I would prefer "call" :-(
|
} |
class LiteralExpression extends Expression { |