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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/token.dart

Issue 2792053002: Scan generic method comments with Fasta. (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/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 d72cf9b9daab1e179de45f5890f2390d070fafbd..83a98013e5b66f58f4d088e9393235800f18e022 100644
--- a/pkg/front_end/lib/src/fasta/scanner/token.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/token.dart
@@ -474,6 +474,12 @@ class CommentToken extends StringToken implements analyzer.CommentToken {
canonicalize: canonicalize);
/**
+ * Creates a non-lazy comment token.
+ */
+ CommentToken.fromString(PrecedenceInfo info, String lexeme, int charOffset)
+ : super.fromString(info, lexeme, charOffset);
+
+ /**
* Creates a lazy string token. If [asciiOnly] is false, the byte array
* is passed through a UTF-8 decoder.
*/
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/precedence.dart ('k') | pkg/front_end/lib/src/fasta/scanner/token_constants.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698