File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class CommentReferenceParser {
43
43
if (prefixResult.type == _PrefixResultType .parsedConstructorHint) {
44
44
children.add (prefixResult.node);
45
45
}
46
- // junk / missing we can skip.
46
+ // [_PrefixResultType. junk] and [_PrefixResultType. missing] we can skip.
47
47
48
48
// <commentReference>
49
49
while (! _atEnd) {
@@ -74,7 +74,7 @@ class CommentReferenceParser {
74
74
children.add (suffixResult.node);
75
75
}
76
76
77
- // missing or junk we can skip.
77
+ // [_SuffixResultType.junk] or [_SuffixResultType.missing] we can skip.
78
78
return children;
79
79
}
80
80
@@ -176,7 +176,6 @@ class CommentReferenceParser {
176
176
return _SuffixParseResult .junk;
177
177
}
178
178
179
- // TODO(jcollins-g): implement junk suffixes if necessary
180
179
return _SuffixParseResult .notSuffix;
181
180
}
182
181
@@ -219,9 +218,9 @@ class CommentReferenceParser {
219
218
return ;
220
219
}
221
220
222
- /// Returns true if we started with startChar and ended with endChar
221
+ /// Returns ` true` if we started with [ startChar] and ended with [ endChar]
223
222
/// with a matching number of braces.
224
- /// Returns _index to start if returning false.
223
+ /// Restores [ _index] to state when called if returning ` false` .
225
224
bool _matchBraces (int startChar, int endChar) {
226
225
var braceCount = 0 ;
227
226
if (_thisChar != startChar) return false ;
You can’t perform that action at this time.
0 commit comments