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

Unified Diff: pkg/front_end/lib/src/fasta/source/stack_listener.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/lib/src/fasta/source/stack_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/source/stack_listener.dart b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
index fddbdc25ad9913face974d4dc8acab6df2b42424..2837bc10a761e5dd2a2926f8fa51a84ed9bd5f35 100644
--- a/pkg/front_end/lib/src/fasta/source/stack_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
@@ -111,7 +111,7 @@ abstract class StackListener extends Listener {
@override
void handleIdentifier(Token token, IdentifierContext context) {
debugEvent("handleIdentifier");
- push(token.value);
+ push(token.lexeme);
}
@override
@@ -214,7 +214,7 @@ abstract class StackListener extends Listener {
debugEvent("endLiteralString");
if (interpolationCount == 0) {
Token token = pop();
- push(unescapeString(token.value));
+ push(unescapeString(token.lexeme));
} else {
internalError("String interpolation not implemented.");
}

Powered by Google App Engine
This is Rietveld 408576698