Skip to content

AST Parser Observation #84

@jeswr

Description

@jeswr

I was just having a look at this codebase to get an understanding of how it worked (amazing work as usual btw.)

I noticed that the package you are using to parse and traverse the AST seems to be a little laborious on the user side - I use the package ts-morph a lot of the time when I am doing typescript parsing and codegen, and it already implements a lot of navigation functionality you currently need to do yourself (e.g. it as has .getClasses method to get all the classes in a file).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions