Make CLI option to be able to print Javadoc tree as plain text #652

Closed
baratali opened this Issue Feb 18, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@baratali
Contributor

baratali commented Feb 18, 2015

We already have JavadocTreePrinter that gets root DetailNode and prints whole tree as plain text to console.
Example:

|--NEWLINE[3x0] : [\n]
|--LEADING_ASTERISK[4x0] : [ *]
|--WS[4x2] : [ ]
        |--JAVADOC_INLINE_TAG[4x74] : [{@link\n * Qax}]
            |--JAVADOC_INLINE_TAG_START[4x74] : [{]
            |--LINK_LITERAL[4x75] : [@link]
            |--NEWLINE[4x80] : [\n]
            |--LEADING_ASTERISK[5x0] : [ *]
            |--WS[5x2] : [ ]
            |--REFERENCE[5x3] : [Qax]
                |--CLASS[5x3] : [Qax]
            |--JAVADOC_INLINE_TAG_END[5x6] : [}]
        |--TEXT[5x7] : [ at the end of a line.]
        |--NEWLINE[5x29] : [\n]
        |--TEXT[6x0] : [ ]
|--EOF[6x1] : [<EOF>]

To work it should be placed inside a Javadoc Check to receive DetailNode tree, which is wrong.
Need to make it standalone to be able to execute tree printing by means CLI.

Following CLI options should be added:
-j, --javadocTree - Print Parse tree of the Javadoc comment

@romani romani added the approved label Feb 18, 2015

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 21, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Feb 23, 2016

@romani romani added the new feature label Feb 23, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 9, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 10, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 11, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 11, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 11, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 11, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 12, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 12, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 12, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 12, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 13, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 13, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 13, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 13, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 13, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 13, 2016

baratali added a commit to baratali/checkstyle that referenced this issue Mar 16, 2016

@romani romani added this to the 6.17 milestone Mar 17, 2016

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani Mar 17, 2016

Member

Fix for plain javadoc parsing is merged

Member

romani commented Mar 17, 2016

Fix for plain javadoc parsing is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment