Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: sdk/lib/_internal/compiler/implementation/js/nodes.dart

Issue 11411215: Generate parameter stubs using ASTs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698