Index: pkg/analyzer/lib/src/fasta/token_utils.dart |
diff --git a/pkg/analyzer/lib/src/fasta/token_utils.dart b/pkg/analyzer/lib/src/fasta/token_utils.dart |
index 1e26cbe725486b5963efe2c68343990a5b17e270..0ebf61ed3666a94a7a20b1ae344cc27dc947e877 100644 |
--- a/pkg/analyzer/lib/src/fasta/token_utils.dart |
+++ b/pkg/analyzer/lib/src/fasta/token_utils.dart |
@@ -236,7 +236,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) { |
token = token.next; |
while (token != null) { |
tail.next = fromAnalyzerToken(token); |
- tail.next.previousToken = tail; |
+ tail.next.previousToken = tail; // ignore: deprecated_member_use |
tail = tail.next; |
token = token.next; |
} |
@@ -248,7 +248,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) { |
token.precedingCommentTokens = |
translateComments(analyzerToken.precedingComments); |
tokenTail.next = token; |
- tokenTail.next.previousToken = tokenTail; |
+ tokenTail.next.previousToken = tokenTail; // ignore: deprecated_member_use |
tokenTail = token; |
matchGroups(analyzerToken, token); |
return analyzerToken.next; |
@@ -258,7 +258,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) { |
// TODO(paulberry): join up begingroup/endgroup. |
if (analyzerToken.type == TokenType.EOF) { |
tokenTail.next = new SymbolToken.eof(analyzerToken.offset); |
- tokenTail.next.previousToken = tokenTail; |
+ tokenTail.next.previousToken = tokenTail; // ignore: deprecated_member_use |
tokenTail.next.precedingCommentTokens = |
translateComments(analyzerToken.precedingComments); |
tokenTail.next.next = tokenTail.next; |