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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartExpression.java

Issue 10834222: Initial implementation of 'Create Method' quick fix (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use resolveUnit() in ASTProvider Created 8 years, 4 months 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/ast/DartExpression.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartExpression.java b/compiler/java/com/google/dart/compiler/ast/DartExpression.java
index 106ce6bf3fa7aa06eefda0b38cb88d13542bb04b..76c712a421d8855ac98a88196401035ab354f9e4 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartExpression.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartExpression.java
@@ -9,9 +9,25 @@ package com.google.dart.compiler.ast;
* Abstract base class for Dart expressions.
*/
public abstract class DartExpression extends DartNode {
+
+ private Object invocationParameterId;
public boolean isAssignable() {
// By default you cannot assign to expressions.
return false;
}
+
+ /**
+ * @return the ID of parameter, {@link Integer} index of positional, {@link String} name if named.
+ */
+ public Object getInvocationParameterId() {
+ return invocationParameterId;
+ }
+
+ /**
+ * @see #getInvocationParameterId()
+ */
+ public void setInvocationParameterId(Object parameterId) {
+ this.invocationParameterId = parameterId;
+ }
}
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698