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

Unified Diff: pkg/analyzer/lib/src/generated/utilities_dart.dart

Issue 109853003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments. Created 7 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: pkg/analyzer/lib/src/generated/utilities_dart.dart
diff --git a/pkg/analyzer/lib/src/generated/utilities_dart.dart b/pkg/analyzer/lib/src/generated/utilities_dart.dart
index 5344a94369fb6b3c3267f682cd939254a33ef6e6..bfefac5ea1374cf70d3deb885533a7d24d5748f6 100644
--- a/pkg/analyzer/lib/src/generated/utilities_dart.dart
+++ b/pkg/analyzer/lib/src/generated/utilities_dart.dart
@@ -24,7 +24,7 @@ class ParameterKind extends Enum<ParameterKind> {
/**
* A flag indicating whether this is an optional parameter.
*/
- bool isOptional = false;
+ bool _isOptional2 = false;
/**
* Initialize a newly created kind with the given state.
@@ -32,6 +32,13 @@ class ParameterKind extends Enum<ParameterKind> {
* @param isOptional `true` if this is an optional parameter
*/
ParameterKind(String name, int ordinal, bool isOptional) : super(name, ordinal) {
- this.isOptional = isOptional;
+ this._isOptional2 = isOptional;
}
+
+ /**
+ * Return `true` if this is an optional parameter.
+ *
+ * @return `true` if this is an optional parameter
+ */
+ bool get isOptional => _isOptional2;
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/source_io.dart ('k') | pkg/analyzer/lib/src/generated/utilities_general.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698