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..ec1469c9a815ae3635b52702d42fb8f60ee0b52e 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 callWith(List<Expression> arguments) => new Call(this, arguments); |
ngeoffray
2012/11/30 09:01:56
I prefer 'call' :)
|
} |
class LiteralExpression extends Expression { |