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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/element.dart

Issue 16103010: Fixes for translator and DDA status files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
Index: pkg/analyzer_experimental/lib/src/generated/element.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/element.dart b/pkg/analyzer_experimental/lib/src/generated/element.dart
index 5500fce5033a3e35089fb2ff0e585f0b971c123e..575fe43c713f4dbeb1cc0b2762eac6f6a3745050 100644
--- a/pkg/analyzer_experimental/lib/src/generated/element.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/element.dart
@@ -361,7 +361,7 @@ abstract class Element {
* A comparator that can be used to sort elements by their name offset. Elements with a smaller
* offset will be sorted to be before elements with a larger name offset.
*/
- static Comparator<Element> SORT_BY_OFFSET = (Element firstElement, Element secondElement) => firstElement.nameOffset - secondElement.nameOffset;
+ static final Comparator<Element> SORT_BY_OFFSET = (Element firstElement, Element secondElement) => firstElement.nameOffset - secondElement.nameOffset;
/**
* Use the given visitor to visit this element.
@@ -673,7 +673,7 @@ abstract class ExportElement implements Element, UriReferencedElement {
/**
* An empty array of export elements.
*/
- static List<ExportElement> EMPTY_ARRAY = new List<ExportElement>(0);
+ static final List<ExportElement> EMPTY_ARRAY = new List<ExportElement>(0);
/**
* Return an array containing the combinators that were specified as part of the export directive
@@ -813,7 +813,7 @@ abstract class ImportElement implements Element, UriReferencedElement {
/**
* An empty array of import elements.
*/
- static List<ImportElement> EMPTY_ARRAY = new List<ImportElement>(0);
+ static final List<ImportElement> EMPTY_ARRAY = new List<ImportElement>(0);
/**
* Return an array containing the combinators that were specified as part of the import directive
@@ -1014,7 +1014,7 @@ abstract class NamespaceCombinator {
/**
* An empty array of namespace combinators.
*/
- static List<NamespaceCombinator> EMPTY_ARRAY = new List<NamespaceCombinator>(0);
+ static final List<NamespaceCombinator> EMPTY_ARRAY = new List<NamespaceCombinator>(0);
}
/**
* The interface {@code ParameterElement} defines the behavior of elements representing a parameter
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/constant.dart ('k') | pkg/analyzer_experimental/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698