Skip to content

Spike: Figure out how AST nodes and tokens correspond to code segments #3

Description

@matthew-carroll

The analyzer package parses code into an AST, which we need to visit to style the code that it represents.

The visitor API includes all possible nodes that might be visited: https://pub.dev/documentation/analyzer/latest/dart_ast_ast/AstVisitor-class.html

We need to figure out which parts of code corresponds to each visitor method. I've been trying this with trial and error, but it's taking a very long time.

@domesticmouse - do you know if there's any documentation to help with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions