Index: pkg/front_end/lib/src/fasta/scanner/recover.dart |
diff --git a/pkg/front_end/lib/src/fasta/scanner/recover.dart b/pkg/front_end/lib/src/fasta/scanner/recover.dart |
index 0beaad6c1d93a4537020871efd6964a29e61caaa..5faa29162a1e33301f5068ab0bc868bb1becc6a1 100644 |
--- a/pkg/front_end/lib/src/fasta/scanner/recover.dart |
+++ b/pkg/front_end/lib/src/fasta/scanner/recover.dart |
@@ -4,19 +4,13 @@ |
library fasta.scanner.recover; |
-import 'token.dart' show |
- StringToken, |
- Token; |
+import 'token.dart' show StringToken, Token; |
-import 'error_token.dart' show |
- NonAsciiIdentifierToken, |
- ErrorKind, |
- ErrorToken; |
+import 'error_token.dart' show NonAsciiIdentifierToken, ErrorKind, ErrorToken; |
import 'precedence.dart' as Precedence; |
-import 'precedence.dart' show |
- PrecedenceInfo; |
+import 'precedence.dart' show PrecedenceInfo; |
/// Recover from errors in [tokens]. The original sources are provided as |
/// [bytes]. [lineStarts] are the beginning character offsets of lines, and |
@@ -39,11 +33,13 @@ Token defaultRecoveryStrategy( |
/// Tokens with errors. |
ErrorToken error; |
+ |
/// Used for appending to [error]. |
ErrorToken errorTail; |
/// Tokens without errors. |
Token good; |
+ |
/// Used for appending to [good]. |
Token goodTail; |
@@ -114,12 +110,12 @@ Token defaultRecoveryStrategy( |
} |
String value = new String.fromCharCodes(codeUnits); |
return synthesizeToken(charOffset, value, Precedence.IDENTIFIER_INFO) |
- ..next = next; |
+ ..next = next; |
} |
recoverExponent() { |
return synthesizeToken(errorTail.charOffset, "NaN", Precedence.DOUBLE_INFO) |
- ..next = errorTail.next; |
+ ..next = errorTail.next; |
} |
recoverString() { |
@@ -129,7 +125,7 @@ Token defaultRecoveryStrategy( |
recoverHexDigit() { |
return synthesizeToken(errorTail.charOffset, "-1", Precedence.INT_INFO) |
- ..next = errorTail.next; |
+ ..next = errorTail.next; |
} |
recoverStringInterpolation() { |