Skip to content

Commit 8e8b36e

Browse files
authored
Fix up documentation on comment reference parser to align with wiki (#2851)
1 parent b9178fc commit 8e8b36e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/src/comment_references/parser.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ class CommentReferenceParser {
9999
/// ```text
100100
/// <rawCommentReference> ::= <prefix>?<commentReference><suffix>?
101101
///
102-
/// <commentReference> ::= (<packageName> '.')? (<libraryName> '.')? <dartdocIdentifier> <typeArguments> ('.' <identifier> <typeArguments>)*
102+
/// <commentReference> ::= <globalScopeReference>? <dartdocIdentifier> <typeArguments>? ('.' <identifier> <typeArguments>?)*
103+
///
104+
/// <globalScopeReference> ::= (<packageName> '.')? (<libraryName> '.')
103105
/// ```
104106
List<CommentReferenceNode> _parseRawCommentReference() {
105107
var children = <CommentReferenceNode>[];

0 commit comments

Comments
 (0)