Interface NodeTreeVisitor

    • Method Detail

      • onNodeStart

        boolean onNodeStart​(Node node)
        Parameters:
        node - to visit
        Returns:
        false if visitor should stop
      • onChildNodeStart

        boolean onChildNodeStart​(Node parent,
                                 Node child,
                                 int index,
                                 boolean hasMore)
        Parameters:
        parent - node
        child - node
        index - of this child in parent
        hasMore - true if more children after this child
        Returns:
        false if visitor should stop
      • onChildNodeEnd

        void onChildNodeEnd​(Node parent,
                            Node child,
                            int index,
                            boolean hasMore)
      • onNodeEnd

        void onNodeEnd​(Node node)