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

Unified Diff: pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/compiler/lib/src/scanner/string_scanner.dart ('k') | pkg/compiler/lib/src/script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart
diff --git a/pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart b/pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart
index 4c42bf78787c1402fb5f32d700881f4915bb095b..c4b87ed44bd0a3c3d61e4efc2864bf15d04a29c6 100644
--- a/pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart
+++ b/pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart
@@ -4,20 +4,13 @@
library dart2js.scanner.utf8;
-import 'dart:convert' show
- UNICODE_BOM_CHARACTER_RUNE,
- UTF8;
+import 'dart:convert' show UNICODE_BOM_CHARACTER_RUNE, UTF8;
-import '../io/source_file.dart' show
- SourceFile;
-import '../tokens/precedence.dart' show
- PrecedenceInfo;
-import '../tokens/token.dart' show
- StringToken,
- Token;
+import '../io/source_file.dart' show SourceFile;
+import '../tokens/precedence.dart' show PrecedenceInfo;
+import '../tokens/token.dart' show StringToken, Token;
-import 'array_based_scanner.dart' show
- ArrayBasedScanner;
+import 'array_based_scanner.dart' show ArrayBasedScanner;
/**
* Scanner that reads from a UTF-8 encoded list of bytes and creates tokens
@@ -100,7 +93,7 @@ class Utf8BytesScanner extends ArrayBasedScanner {
* scanning.
*/
Utf8BytesScanner.fromBytes(List<int> zeroTerminatedBytes,
- {bool includeComments: false})
+ {bool includeComments: false})
: this.bytes = zeroTerminatedBytes,
super(null, includeComments) {
assert(bytes.last == 0);
@@ -212,7 +205,7 @@ class Utf8BytesScanner extends ArrayBasedScanner {
Token previousToken() => tail;
void appendSubstringToken(PrecedenceInfo info, int start, bool asciiOnly,
- [int extraOffset = 0]) {
+ [int extraOffset = 0]) {
tail.next = new StringToken.fromUtf8Bytes(
info, bytes, start, byteOffset + extraOffset, asciiOnly, tokenStart);
tail = tail.next;
« no previous file with comments | « pkg/compiler/lib/src/scanner/string_scanner.dart ('k') | pkg/compiler/lib/src/script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698