Skip to content

Commit fbbddc0

Browse files
Suryanshu Agrawalromani
authored andcommitted
Issue #17882: Update LEADING_ASTERISK of Javadoc CommentTokenTypes into AST format, Trigger CI
1 parent 4d23c0b commit fbbddc0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/main/java/com/puppycrawl/tools/checkstyle/api/JavadocCommentsTokenTypes.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,26 @@ public final class JavadocCommentsTokenTypes {
4848

4949
/**
5050
* Leading asterisk used to format Javadoc lines.
51+
*
52+
* <p><b>Example:</b></p>
53+
* <pre>{@code
54+
* /**
55+
* * This is a Javadoc line.
56+
* * /
57+
* }</pre>
58+
*
59+
* <p><b>Tree:</b></p>
60+
* <pre>{@code
61+
* --BLOCK_COMMENT_BEGIN -> /**
62+
* |--COMMENT_CONTENT -> *\r\n * This is a Javadoc line.\r\n
63+
* | `--JAVADOC_CONTENT -> JAVADOC_CONTENT
64+
* | |--NEWLINE -> \r\n
65+
* | |--LEADING_ASTERISK -> *
66+
* | |--TEXT -> This is a Javadoc line.
67+
* | |--NEWLINE -> \r\n
68+
* | `--TEXT ->
69+
* ` --BLOCK_COMMENT_END -> *
70+
* }</pre>
5171
*/
5272
public static final int LEADING_ASTERISK = JavadocCommentsLexer.LEADING_ASTERISK;
5373

0 commit comments

Comments
 (0)