Skip to content

Implement HIR visitor #63

Open
@DaniPopes

Description

Describe the feature

Implement HIR visitor traits and functions using the visitor macro, similar to the AST ones.

The main difference here is that we need to recurse using the Hir struct, which means that there should be an extra fn hir(&self) -> Hir<> method to return it and that is used in the other methods to recurse.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-semaArea: semantic analysisC-enhancementCategory: an issue proposing an enhancement or a PR with oneE-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.P-mediumMedium priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions