annotate runtime/syntax/testdir/dumps/java_comments_99.dump @ 34632:a717b67d7241

runtime(java): Recognise the inline kind of the {@return} tag (#14284) Commit: https://github.com/vim/vim/commit/8e59a7ba88776d5425bafc6eefd978de3312fcdf Author: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com> Date: Mon Mar 25 18:18:28 2024 +0300 runtime(java): Recognise the inline kind of the {@return} tag (https://github.com/vim/vim/issues/14284) Also: - Refine comment matching (javaComment{Error\ and,Start}). - Continue rewriting regexps (prefer atom grouping with non-capturing parens; factor out common prefixes in alternations). - Allow for relative paths with the _file_ attribute of {@snippet}. - Anticipate HTML in the @see tags. - Match the nullary method parens in javaDocSeeTagParam. - Improve the boundary patterns for summary sentences of documentation. > This sentence ends at ... or at the first tag (as defined > below). There are Java documentation tags (@) and there are HTML tags (<?>) (with Markdown looming large; see JEP 467). With block tags, e.g. @param, @return, @see, we begin another documentation "sentence" whether or not the author has terminated the summary sentence with a period; with .<!-- -->, we may follow abbreviations, enumerations, initials, (but instead consider @literal or &nbsp;) _within_ the summary sentence. On the other hand, inline tags, e.g. @code, @link, @literal, should not terminate the summary sentence. References: https://bugs.openjdk.org/browse/JDK-8075778 https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html#firstsentence https://docs.oracle.com/en/java/javase/21/docs/specs/javadoc/doc-comment-spec.html Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Mar 2024 16:30:10 +0100
parents b0d91b836400
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34632
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
1 | +0#0000e05#ffffff0@4|*| +0#0000000&@68
34613
b0d91b836400 runtime(java): Recognise the {@snippet} documentation tag (#14271)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 | +0#0000e05&@4|*| |@+0#e000e06&|p|a|r|a|m| +0#00e0e07&|a|r|g|s| +0#0000e05&|o|p|t|i|o|n|a|l| |c+0&#ffd7d7255|o|m@1|a|n|d|e|-+0&#ffffff0|l|i|n|e| |a|r|g|u|m|e|n|t|s| +0#ffffff16#ff404010| +0#0000000#ffffff0@22
34632
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
3 | +0#0000e05&@4|*| |@|j+0&#ffd7d7255|l|s| +0&#ffffff0|1|2|.|1|.|4| |I|n|v|o|k|e| |{+0#e000e06&|@|c|o|d|e| |T|e|s|t|.|m|a|i|n|}| +0#0000e05&|*|/| +0#0000000&@28
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
4 @4|/+0#0000e05&@1| |@+0#0000000&|s|t|a|r|t| +0#0000e05&|r+0#00e0003&|e|g|i|o|n| +0#0000e05&|=| |m+0#e000002&|a|i|n| +0#ffffff16#ff404010@4| +0#0000000#ffffff0@42
34613
b0d91b836400 runtime(java): Recognise the {@snippet} documentation tag (#14271)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 @4|/+0#0000e05&@1| |@+0#0000000&|l|i|n|k| +0#0000e05&|s+0#00e0003&|u|b|s|t|r|i|n|g| +0#0000e05&|=| |'+0#e000002&|S|t|r|i|n|g|'| +0#0000e05&|t+0#00e0003&|a|r|g|e|t| +0#0000e05&|=| |'+0#e000002&|j|a|v|a|.|l|a|n|g|.|S|t|r|i|n|g|'| +0#0000e05&|:| +0#0000000&@11
b0d91b836400 runtime(java): Recognise the {@snippet} documentation tag (#14271)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 @4|p+0#00e0003&|u|b|l|i|c| +0#0000000&|s+0#00e0003&|t|a|t|i|c| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&|m|a|i|n|(|S|t|r|i|n|g|[|]| |a|r|g|s|)| |{| |}| @28
34632
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
7 @4|/+0#0000e05&@1| |@+0#0000000&|e|n|d| +0#ffffff16#ff404010| +0#0000000#ffffff0@62
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
8 @75
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
9 @4|/+0#0000e05&|*@1| |{+0#e000e06&|@|r|e|t|u|r|n| |a|n| |e|m|p|t|y| |s|t|r|i|n|g|}| +0#ffffff16#ff404010@2| +0#0000000#ffffff0@38
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
10 | +0#0000e05&@4|*| +0#e000e06&|@|s|e@1| |<+0#00e0e07&|a+0#af5f00255&| +0#00e0e07&|h+0#00e0003&|r|e|f|=+0#00e0e07&|"+0#e000002&|h|t@1|p|s|:|/@1|d|o|c|s|.|o|r|a|c|l|e|.|c|o|m|/|j|a|v|a|s|e|/|s|p|e|c|s|/|j|l|s|/|s|e|2|1|/|h|t|m|l|/|j|l|s
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
11 |-|3|.|h|t|m|l|#|j|l|s|-|3|.|1|0|.|5|"|>+0#00e0e07&|3+8#e000e06&|.|1|0|.|5| |S|t|r|i|n|g| |L|i|t|e|r|a|l|s|<+0#00e0e07&|/|a+0#af5f00255&|>+0#00e0e07&| +0#0000000&@28
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
12 | +0#0000e05&@4|*| +0#e000e06&|@|s|e@1| |O+0#00e0e07&|b|j|e|c|t|#|t|o|S|t|r|i|n|g|(|)| +0#0000000&|*+0#e000e06&|/| +0#0000000&@42
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
13 @4|/+0#0000e05&@1| |@+0#0000000&|s|t|a|r|t| +0#0000e05&|r+0#00e0003&|e|g|i|o|n| +0#0000e05&|=| |t+0#e000002&|o|S|t|r|i|n|g| +0#ffffff16#ff404010| +0#0000000#ffffff0@42
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
14 @4|/+0#0000e05&@1| |@+0#0000000&|r|e|p|l|a|c|e| +0#0000e05&|s+0#00e0003&|u|b|s|t|r|i|n|g| +0#0000e05&|=| |'+0#e000002&|"@1|'| +0#0000e05&|r+0#00e0003&|e|p|l|a|c|e|m|e|n|t| +0#0000e05&|=| |"+0#e000002&|\|u|0@1|2@1|\|u|0@1|2@1|"| +0#0000000&@13
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
15 @4|/+0#0000e05&@1| |@+0#0000000&|l|i|n|k| +0#0000e05&|r+0#00e0003&|e|g|e|x| +0#0000e05&|=| |'+0#e000002&|\|b|S|t|r|i|n|g|'| +0#0000e05&|t+0#00e0003&|a|r|g|e|t| +0#0000e05&|=| |j+0#e000002&|a|v|a|.|l|a|n|g|.|S|t|r|i|n|g| +0#0000e05&|t+0#00e0003&|y|p|e| +0#0000e05&|=| |l+0#e000002&|i|n|k|p|l|a|i|n| +0#0000e05&
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
16 |:| +0#0000000&@73
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
17 @4|@+0#e000e06&|O|v|e|r@1|i|d|e| +0#0000000&|p+0#00e0003&|u|b|l|i|c| +0#0000000&|S|t|r|i|n|g| |t|o|S|t|r|i|n|g|(|)| |{| |r+0#af5f00255&|e|t|u|r|n| +0#0000000&|"+0#e000002&@1|;+0#0000000&| |}| @21
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
18 @4|/+0#0000e05&@1| |@+0#0000000&|e|n|d| +0#ffffff16#ff404010| +0#0000000#ffffff0@62
34613
b0d91b836400 runtime(java): Recognise the {@snippet} documentation tag (#14271)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 >}| @73
34632
a717b67d7241 runtime(java): Recognise the inline kind of the {@return} tag (#14284)
Christian Brabandt <cb@256bit.org>
parents: 34613
diff changeset
20 @57|9|0|,|1| @9|B|o|t|