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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/token.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
Index: pkg/front_end/lib/src/fasta/scanner/token.dart
diff --git a/pkg/front_end/lib/src/fasta/scanner/token.dart b/pkg/front_end/lib/src/fasta/scanner/token.dart
index d75a81cc08e726208e4c1fc7ae4d77e3a2f595df..6cab122a2689477af7f47ffe1bba68287b98e105 100644
--- a/pkg/front_end/lib/src/fasta/scanner/token.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/token.dart
@@ -4,16 +4,11 @@
library fasta.scanner.token;
-import 'keyword.dart' show
- Keyword;
+import 'keyword.dart' show Keyword;
-import 'precedence.dart' show
- BAD_INPUT_INFO,
- EOF_INFO,
- PrecedenceInfo;
+import 'precedence.dart' show BAD_INPUT_INFO, EOF_INFO, PrecedenceInfo;
-import 'token_constants.dart' show
- IDENTIFIER_TOKEN;
+import 'token_constants.dart' show IDENTIFIER_TOKEN;
import 'string_canonicalizer.dart';
@@ -191,8 +186,8 @@ class StringToken extends Token {
*/
StringToken.fromString(this.info, String value, int charOffset,
{bool canonicalize: false})
- : valueOrLazySubstring = canonicalizedString(value,
- 0, value.length, canonicalize),
+ : valueOrLazySubstring =
+ canonicalizedString(value, 0, value.length, canonicalize),
super(charOffset);
/**
@@ -256,8 +251,8 @@ class StringToken extends Token {
static final StringCanonicalizer canonicalizer = new StringCanonicalizer();
- static String canonicalizedString(String s, int start, int end,
- bool canonicalize) {
+ static String canonicalizedString(
+ String s, int start, int end, bool canonicalize) {
if (!canonicalize) return s;
return canonicalizer.canonicalize(s, start, end, false);
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/string_scanner.dart ('k') | pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698