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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.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/DartMethodInfo.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java
index 9c56a7968b22096850496c324a0c42e8e906853c..9268629a4a6f90790f67789b3483d1bbfd22d718 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java
@@ -20,6 +20,7 @@ package com.google.dart.tools.core.internal.model.info;
public class DartMethodInfo extends DeclarationElementInfo {
private int optionalParametersOpeningGroupChar;
private int optionalParametersClosingGroupChar;
+ private int parametersOpenParen;
private int parametersCloseParen;
/**
* A flag indicating whether this method is a constructor.
@@ -53,6 +54,13 @@ public class DartMethodInfo 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.
*
@@ -114,6 +122,10 @@ public class DartMethodInfo 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