Skip to content

Register location of name in TModel #13

@toinehartman

Description

@toinehartman

For rename refactoring (and possibly other applications), we need to find the exact location of names to rename. In the case of definitions, we only have the location of the whole definition (e.g. function annotations+signature+body). The name is contained in the signature and analysis of the parse tree is required to find its exact location.

It would be very helpful if a TModel maps definition locations to locations of their names. This should be done in a backwards-compatible manner, so existing type checkers or code consuming TModels do not break.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions