Skip to content

[kotlin] Improve Kotlin AST #4337

@adangel

Description

@adangel

Is your feature request related to a problem? Please describe.
The AST is very deep. This is because ANTLR doesn't produce a AST, but a parse tree. We would need some post processing in order to create our own AST representation.

The new Apex grammar does something similar: ANTLR -> Summit AST -> PMD. Maybe we could do the same for Kotlin?

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rulesin:grammarAbout the grammar of a lexer or parser, eg, a parse/lex exception

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions