Implement HIR visitor #63
Labels
A-sema
Area: semantic analysis
C-enhancement
Category: an issue proposing an enhancement or a PR with one
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
P-medium
Medium priority
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 extrafn hir(&self) -> Hir<>
method to return it and that is used in the other methods to recurse.Additional context
No response
The text was updated successfully, but these errors were encountered: