8000 Move `TraverseScoping` methods to `Scoping` · Issue #163 · oxc-project/backlog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Move TraverseScoping methods to Scoping #163
Open
@overlookmotel

Description

@overlookmotel

TraverseScoping contains a load of useful methods for manipulating symbols, scopes, and references.

Most of the methods don't contain anything which ties them specifically to Traverse. The reason these were implemented on TraverseScoping was because at the timeoxc_semantic had separate SymbolTable, ScopeTree etc structures, and many of these methods need data about both scopes and symbols.

But now we have Scoping in oxc_semantic which fulfils the same role. We should migrate these methods from TraverseScoping to Scoping, so they can be used more widely, e.g. in Visit / VisitMut visitors.

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

      0