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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/keyword.dart

Issue 2718113003: Run dartfmt on pkg/front_end/lib. (Closed)
Patch Set: Rerun after merging. Created 3 years, 10 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/io.dart ('k') | pkg/front_end/lib/src/fasta/scanner/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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];
-
}
/**
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/io.dart ('k') | pkg/front_end/lib/src/fasta/scanner/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698