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

Unified Diff: pkg/analyzer/lib/src/generated/scanner.dart

Issue 764243003: Updated detached tokens of references in documentation comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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/analyzer/lib/src/generated/scanner.dart
diff --git a/pkg/analyzer/lib/src/generated/scanner.dart b/pkg/analyzer/lib/src/generated/scanner.dart
index af06edfc94ec8ab6a79436590c47fbfde98e372d..2efcb808bf81b177b311e5b4b45c7968702d43aa 100644
--- a/pkg/analyzer/lib/src/generated/scanner.dart
+++ b/pkg/analyzer/lib/src/generated/scanner.dart
@@ -239,6 +239,13 @@ class CommentToken extends StringToken {
Token parent;
/**
+ * The references embedded within the documentation comment.
+ * This list will be empty unless this is a documentation comment that has
+ * references embedded within it.
+ */
+ final List<Token> references = <Token>[];
Brian Wilkerson 2014/12/01 19:41:19 How hard would it be to have a subclass of Comment
scheglov 2014/12/01 22:49:22 https://codereview.chromium.org/768233002
+
+ /**
* Initialize a newly created token to represent a token of the given [type]
* with the given [value] at the given [offset].
*/
@@ -2022,7 +2029,7 @@ class Token {
* the first preceding comment token will have a lexeme of "/* one */" and
* the next comment token will have a lexeme of "/* two */".
*/
- Token get precedingComments => null;
+ CommentToken get precedingComments => null;
/**
* Apply (add) the given [delta] to this token's offset.
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | pkg/analyzer/test/generated/incremental_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698