Class BlockNodeVisitor

    • Constructor Detail

      • BlockNodeVisitor

        public BlockNodeVisitor()
      • BlockNodeVisitor

        public BlockNodeVisitor​(@NotNull
                                VisitHandler... handlers)
      • BlockNodeVisitor

        public BlockNodeVisitor​(@NotNull
                                VisitHandler[]... handlers)
      • BlockNodeVisitor

        public BlockNodeVisitor​(@NotNull
                                java.util.Collection<VisitHandler> handlers)
    • Method Detail

      • processNode

        public void processNode​(@NotNull
                                Node node,
                                boolean withChildren,
                                @NotNull
                                java.util.function.BiConsumer<Node,​Visitor<Node>> processor)
        Description copied from class: AstActionHandler
        Node processing called for every node being processed

        Override this to add customizations to standard processing callback.

        Overrides:
        processNode in class AstActionHandler<NodeVisitor,​Node,​Visitor<Node>,​VisitHandler<Node>>
        Parameters:
        node - node being processed
        withChildren - whether to process child nodes if there is no handler for the node type
        processor - processor to invoke to perform the processing, BiConsumer taking N node, and A action