Skip to content
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

Issue #9456: updated example of AST for TokenTypes.INTERFACE_DEF #9734

Merged
merged 1 commit into from
Mar 28, 2021
Merged

Issue #9456: updated example of AST for TokenTypes.INTERFACE_DEF #9734

merged 1 commit into from
Mar 28, 2021

Conversation

theanmolsharma
Copy link
Contributor

fixes #9456:

Screenshot 2021-03-28 at 10 08 11 AM

Source used to generate AST:

public interface MyInterface {
    
}

Generated AST:

INTERFACE_DEF -> INTERFACE_DEF [1:0]
|--MODIFIERS -> MODIFIERS [1:0]
|   `--LITERAL_PUBLIC -> public [1:0]
|--LITERAL_INTERFACE -> interface [1:7]
|--IDENT -> MyInterface [1:17]
`--OBJBLOCK -> OBJBLOCK [1:29]
    |--LCURLY -> { [1:29]
    `--RCURLY -> } [3:0]

Expected update for JavaDoc:

INTERFACE_DEF -> INTERFACE_DEF
|--MODIFIERS -> MODIFIERS
|   `--LITERAL_PUBLIC -> public
|--LITERAL_INTERFACE -> interface
|--IDENT -> MyInterface
`--OBJBLOCK -> OBJBLOCK
    |--LCURLY -> {
    `--RCURLY -> }

@romani
Copy link
Member

romani commented Mar 28, 2021

@theanmolsharma , please focus on more complicated issues, like "second gsoc", "third gsoc", "easy", ... .
First gsoc issues are only entry level.

@romani romani merged commit b1de512 into checkstyle:master Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update example of AST for TokenTypes.INTERFACE_DEF
2 participants