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

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..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 {

Powered by Google App Engine
This is Rietveld 408576698