Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(AST): introduce AstVisitor trait
The AST-Visitor trait allows generic visiting of AST-nodes. A default Walking behavior is implemented for each AstStatement but it can be altered by any implementor. When overriding a visit_XXX method, the implementation can decide to continue with the default walking behavior (by calling the walk function on the passed AstStatement-Struct, to skip it, or to continue with an alternative walking bahavior.
- Loading branch information