Class SubgraphWalker.ScopedWalker

  • Enclosing class:
    SubgraphWalker

    public static class SubgraphWalker.ScopedWalker
    extends java.lang.Object
    Handles declaration scope monitoring for iterative traversals. If this is not required, use SubgraphWalker.IterativeGraphWalker for less overhead.

    Declaration scopes are similar to ScopeManager scopes: ValueDeclarations located inside a scope (i.e. are children of the scope root) are visible to any children of the scope root. Scopes can be layered, where declarations from parent scopes are visible to the children but not the other way around.