Skip to content

Don't use generated PSI in plugin #378

@knisht

Description

@knisht

Arend's PSI tree is in fact a CST, not an AST. It results in a lot off difficulties with this tree: there are some strange nodes like ArendAtomFieldAcc, and the tree is highly unstable -- any changes in grammar result in a ton of changes in PSI clients.

Grammar Kit allows to delegate the creation of PSI tree to the author of a plugin. It should help us to create user-controlled PSI structure, that inherits Abstract nodes directly, which should simplify the overall interaction with AST in plugin.

Unfortunately, it requires to make changes almost everywhere in the plugin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions