Class AnchorRefTargetBlockVisitor

java.lang.Object
com.vladsch.flexmark.util.ast.NodeVisitorBase
com.vladsch.flexmark.ast.util.AnchorRefTargetBlockVisitor

public abstract class AnchorRefTargetBlockVisitor extends NodeVisitorBase
Abstract visitor that visits only children of blocks excluding Paragraphs

Can be used to only process block nodes efficiently skipping text. If you override a method and want visiting to descend into children, call NodeVisitorBase.visitChildren(com.vladsch.flexmark.util.ast.Node).

  • Constructor Details

    • AnchorRefTargetBlockVisitor

      public AnchorRefTargetBlockVisitor()
  • Method Details

    • visit

      protected abstract void visit(AnchorRefTarget node)
    • preVisit

      protected boolean preVisit(@NotNull @NotNull Node node)
    • visit

      public void visit(@NotNull @NotNull Node node)
      Specified by:
      visit in class NodeVisitorBase