New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update TokenTypes.java to new format of AST print #14516
Labels
Milestone
Comments
@SteLeo1602, please help to resolve this issue. |
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 28, 2024
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 28, 2024
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 28, 2024
…a to new format of AST print
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 28, 2024
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 28, 2024
…a to new format of AST print
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 28, 2024
…a to new format of AST print
Can I work on it? |
@Coding-Aliens, you can , but I recommend you to take more complicated issues. Be aware of two PRs already in flight. |
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 29, 2024
SteLeo1602
added a commit
to SteLeo1602/checkstyle
that referenced
this issue
Feb 29, 2024
romani
pushed a commit
that referenced
this issue
Mar 3, 2024
romani
pushed a commit
that referenced
this issue
Mar 3, 2024
nrmancuso
pushed a commit
to nrmancuso/checkstyle
that referenced
this issue
Mar 4, 2024
nrmancuso
pushed a commit
to nrmancuso/checkstyle
that referenced
this issue
Mar 4, 2024
MANISH-K-07
added a commit
to MANISH-K-07/checkstyle
that referenced
this issue
Mar 6, 2024
MANISH-K-07
added a commit
to MANISH-K-07/checkstyle
that referenced
this issue
Mar 6, 2024
MANISH-K-07
added a commit
to MANISH-K-07/checkstyle
that referenced
this issue
Mar 6, 2024
MANISH-K-07
added a commit
to MANISH-K-07/checkstyle
that referenced
this issue
Mar 7, 2024
nrmancuso
pushed a commit
that referenced
this issue
Mar 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need to update https://checkstyle.sourceforge.io/apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html to reflect the current printed abstract syntax tree representation.
Example of old style (note the
+
and lack of->
):Example of new style:
Example of where we need to update: https://checkstyle.sourceforge.io/apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PARAMETERS , there might be more, ABSTRACT, STRICTFP, LITERAL_NEW, SINGLE_LINE_COMMENT.
How to generate our AST via command line:
Note that this
sed
command escapes the>
character and removes the line:column numbers for our documentation. Also, please be aware that we may need to update the existing code sample to be a bit more substantial.For more details about Checkstyle's command line usage, see: https://checkstyle.org/cmdline.html#Command_line_usage
The text was updated successfully, but these errors were encountered: