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

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

Issue 2738313002: rename fasta.Token.value --> lexeme (Closed)
Patch Set: 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
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));
}
}

Powered by Google App Engine
This is Rietveld 408576698