Interface SpanFactory<N extends com.vladsch.flexmark.util.ast.Node>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SpanFactory<N extends com.vladsch.flexmark.util.ast.Node>
  • Method Summary

    Modifier and Type
    Method
    Description
    create(MarkdownConfig config, N node, DataSet args)
    Create a span object or an array of span objects for the given node.
  • Method Details

    • create

      Object create(@NonNull MarkdownConfig config, @NonNull N node, @NonNull DataSet args)
      Create a span object or an array of span objects for the given node.
      Parameters:
      config - context options
      node - AST node
      args - optional arguments
      Returns:
      span, array of spans, or null