| Index: pkg/front_end/lib/src/fasta/scanner/keyword.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/scanner/keyword.dart b/pkg/front_end/lib/src/fasta/scanner/keyword.dart
|
| index 48c4104724113eef9967b0d69211295a806714f4..701fa39db9577d5a87f1b2af8edabf25cdef0ef3 100644
|
| --- a/pkg/front_end/lib/src/fasta/scanner/keyword.dart
|
| +++ b/pkg/front_end/lib/src/fasta/scanner/keyword.dart
|
| @@ -4,16 +4,11 @@
|
|
|
| library fasta.scanner.keywords;
|
|
|
| -import 'characters.dart' show
|
| - $a, $z, $A, $Z;
|
| +import 'characters.dart' show $a, $z, $A, $Z;
|
|
|
| -import 'precedence.dart' show
|
| - PrecedenceInfo;
|
| +import 'precedence.dart' show PrecedenceInfo;
|
|
|
| -import 'precedence.dart' show
|
| - AS_INFO,
|
| - IS_INFO,
|
| - KEYWORD_INFO;
|
| +import 'precedence.dart' show AS_INFO, IS_INFO, KEYWORD_INFO;
|
|
|
| /**
|
| * A keyword in the Dart programming language.
|
| @@ -103,9 +98,7 @@ class Keyword {
|
| }
|
|
|
| const Keyword(this.syntax,
|
| - {this.isPseudo: false,
|
| - this.isBuiltIn: false,
|
| - this.info: KEYWORD_INFO});
|
| + {this.isPseudo: false, this.isBuiltIn: false, this.info: KEYWORD_INFO});
|
|
|
| static Map<String, Keyword> computeKeywordMap() {
|
| Map<String, Keyword> result = new Map<String, Keyword>();
|
| @@ -222,7 +215,6 @@ abstract class ArrayKeywordState implements KeywordState {
|
| }
|
|
|
| class LowerCaseArrayKeywordState extends ArrayKeywordState {
|
| -
|
| LowerCaseArrayKeywordState(List<KeywordState> table, String syntax)
|
| : super(table, syntax) {
|
| assert(table.length == $z - $a + 1);
|
| @@ -231,11 +223,9 @@ class LowerCaseArrayKeywordState extends ArrayKeywordState {
|
| KeywordState next(int c) => table[c - $a];
|
|
|
| KeywordState nextCapital(int c) => null;
|
| -
|
| }
|
|
|
| class UpperCaseArrayKeywordState extends ArrayKeywordState {
|
| -
|
| UpperCaseArrayKeywordState(List<KeywordState> table, String syntax)
|
| : super(table, syntax) {
|
| assert(table.length == $z - $A + 1);
|
| @@ -244,7 +234,6 @@ class UpperCaseArrayKeywordState extends ArrayKeywordState {
|
| KeywordState next(int c) => table[c - $A];
|
|
|
| KeywordState nextCapital(int c) => table[c - $A];
|
| -
|
| }
|
|
|
| /**
|
|
|