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

Unified Diff: pkg/compiler/lib/src/tree/prettyprint.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/compiler/lib/src/tree/prettyprint.dart
diff --git a/pkg/compiler/lib/src/tree/prettyprint.dart b/pkg/compiler/lib/src/tree/prettyprint.dart
index 6a9aa96a2baa2d75de201d63c21db9f6bdc08a50..a6bdb4c4430cb882c98b94da1ee3fb2d4305cca0 100644
--- a/pkg/compiler/lib/src/tree/prettyprint.dart
+++ b/pkg/compiler/lib/src/tree/prettyprint.dart
@@ -21,7 +21,7 @@ class PrettyPrinter extends Indentation with Tagging<Node> implements Visitor {
String valueToString(var value) {
if (value is Token) {
- return value.value;
+ return value.lexeme;
}
return value;
}

Powered by Google App Engine
This is Rietveld 408576698