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

Side by Side Diff: pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart

Issue 15675016: More fixes for java2dart and 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 library engine.utilities.dart; 3 library engine.utilities.dart;
4 /** 4 /**
5 * The enumeration {@code ParameterKind} defines the different kinds of paramete rs. There are two 5 * The enumeration {@code ParameterKind} defines the different kinds of paramete rs. There are two
6 * basic kinds of parameters: required and optional. Optional parameters are fur ther divided into 6 * basic kinds of parameters: required and optional. Optional parameters are fur ther divided into
7 * two kinds: positional optional and named optional. 7 * two kinds: positional optional and named optional.
8 * @coverage dart.engine.utilities 8 * @coverage dart.engine.utilities
9 */ 9 */
10 class ParameterKind implements Comparable<ParameterKind> { 10 class ParameterKind implements Comparable<ParameterKind> {
(...skipping 20 matching lines...) Expand all
31 ParameterKind(this.name, this.ordinal, bool isOptional) { 31 ParameterKind(this.name, this.ordinal, bool isOptional) {
32 this._isOptional2 = isOptional; 32 this._isOptional2 = isOptional;
33 } 33 }
34 34
35 /** 35 /**
36 * Return {@code true} if this is an optional parameter. 36 * Return {@code true} if this is an optional parameter.
37 * @return {@code true} if this is an optional parameter 37 * @return {@code true} if this is an optional parameter
38 */ 38 */
39 bool isOptional() => _isOptional2; 39 bool isOptional() => _isOptional2;
40 int compareTo(ParameterKind other) => ordinal - other.ordinal; 40 int compareTo(ParameterKind other) => ordinal - other.ordinal;
41 int get hashCode => ordinal;
41 String toString() => name; 42 String toString() => name;
42 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698