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

Unified Diff: pkg/front_end/tool/fasta_perf.dart

Issue 2738313002: rename fasta.Token.value --> lexeme (Closed)
Patch Set: merge Created 3 years, 9 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/test/scanner_fasta_test.dart ('k') | tests/compiler/dart2js/partial_parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/tool/fasta_perf.dart
diff --git a/pkg/front_end/tool/fasta_perf.dart b/pkg/front_end/tool/fasta_perf.dart
index 5b992de3cf55aa4875bef8e06c05ba4097cdc9d1..847698119dcdef131a37539cbf1b72a3c02fd20f 100644
--- a/pkg/front_end/tool/fasta_perf.dart
+++ b/pkg/front_end/tool/fasta_perf.dart
@@ -199,7 +199,7 @@ class DirectiveListener extends Listener {
void beginLiteralString(Token token) {
if (_inDirective) {
- var quotedString = token.value;
+ var quotedString = token.lexeme;
uris.add(quotedString.substring(1, quotedString.length - 1));
}
}
« no previous file with comments | « pkg/front_end/test/scanner_fasta_test.dart ('k') | tests/compiler/dart2js/partial_parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698