Interface NodeVisitor<Tag extends java.lang.Enum<Tag>>

    • Method Detail

      • onBegin

        NodeVisitor.Result onBegin​(AbstractNode<Tag> node)
        Is called before traversing the child nodes.
        Parameters:
        node - the visiting node.
        Returns:
        the visiting result.
      • onEnd

        NodeVisitor.Result onEnd​(AbstractNode<Tag> node)
        Is called when all of the child nodes have been traversed.
        Parameters:
        node - the visiting node.
        Returns:
        the visiting result.