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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/scanner.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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_experimental/lib/src/generated/scanner.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/scanner.dart b/pkg/analyzer_experimental/lib/src/generated/scanner.dart
index 2da3af1cab6b40bd676bf04b24bec9aac158b501..091e88c2cc75b53361ff82d965b4062d1b7dc94b 100644
--- a/pkg/analyzer_experimental/lib/src/generated/scanner.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/scanner.dart
@@ -158,6 +158,7 @@ class ScannerErrorCode implements Comparable<ScannerErrorCode>, ErrorCode {
String get message => _message;
ErrorType get type => ErrorType.SYNTACTIC_ERROR;
int compareTo(ScannerErrorCode other) => ordinal - other.ordinal;
+ int get hashCode => ordinal;
String toString() => name;
}
/**
@@ -312,6 +313,7 @@ class Keyword implements Comparable<Keyword> {
*/
bool isPseudoKeyword() => _isPseudoKeyword2;
int compareTo(Keyword other) => ordinal - other.ordinal;
+ int get hashCode => ordinal;
String toString() => name;
}
/**
@@ -1806,6 +1808,7 @@ class TokenClass implements Comparable<TokenClass> {
*/
int get precedence => _precedence;
int compareTo(TokenClass other) => ordinal - other.ordinal;
+ int get hashCode => ordinal;
String toString() => name;
}
/**
@@ -2033,6 +2036,7 @@ class TokenType implements Comparable<TokenType> {
*/
bool isUserDefinableOperator() => identical(_lexeme, "==") || identical(_lexeme, "~") || identical(_lexeme, "[]") || identical(_lexeme, "[]=") || identical(_lexeme, "*") || identical(_lexeme, "/") || identical(_lexeme, "%") || identical(_lexeme, "~/") || identical(_lexeme, "+") || identical(_lexeme, "-") || identical(_lexeme, "<<") || identical(_lexeme, ">>") || identical(_lexeme, ">=") || identical(_lexeme, ">") || identical(_lexeme, "<=") || identical(_lexeme, "<") || identical(_lexeme, "&") || identical(_lexeme, "^") || identical(_lexeme, "|");
int compareTo(TokenType other) => ordinal - other.ordinal;
+ int get hashCode => ordinal;
String toString() => name;
}
class TokenType_EOF extends TokenType {

Powered by Google App Engine
This is Rietveld 408576698