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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java

Issue 11577022: Issue 7093. Support for inlining function references. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
index 234a145bafbd2ea82a731e5a60795741428c03a8..01b31c464e87499c428d93e852e32dca4692ac89 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
@@ -29,6 +29,7 @@ public class DartFunctionInfo extends DeclarationElementInfo {
private int optionalParametersOpeningGroupChar;
private int optionalParametersClosingGroupChar;
+ private int parametersOpenParen;
private int parametersCloseParen;
private int visibleStart;
private int visibleEnd;
@@ -49,6 +50,13 @@ public class DartFunctionInfo extends DeclarationElementInfo {
}
/**
+ * @return the position of parameters open parenthesis.
+ */
+ public int getParametersOpenParen() {
+ return parametersOpenParen;
+ }
+
+ /**
* Return the name of the return type of this method, or <code>null</code> if this method is a
* constructor or does not have a declared return type.
*
@@ -77,6 +85,10 @@ public class DartFunctionInfo extends DeclarationElementInfo {
this.parametersCloseParen = parametersCloseParen;
}
+ public void setParametersOpenParen(int parametersOpenParen) {
+ this.parametersOpenParen = parametersOpenParen;
+ }
+
/**
* Set the name of the return type of this method to the given name.
*

Powered by Google App Engine
This is Rietveld 408576698