Package com.vladsch.flexmark.parser
Interface PostProcessor
-
- All Known Implementing Classes:
DocumentPostProcessor
,NodePostProcessor
public interface PostProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(@NotNull com.vladsch.flexmark.util.ast.NodeTracker state, @NotNull com.vladsch.flexmark.util.ast.Node node)
@NotNull com.vladsch.flexmark.util.ast.Document
processDocument(@NotNull com.vladsch.flexmark.util.ast.Document document)
-
-
-
Method Detail
-
processDocument
@NotNull @NotNull com.vladsch.flexmark.util.ast.Document processDocument(@NotNull @NotNull com.vladsch.flexmark.util.ast.Document document)
- Parameters:
document
- the node to post-process- Returns:
- the result of post-processing, may be a modified
document
argument
-
process
void process(@NotNull @NotNull com.vladsch.flexmark.util.ast.NodeTracker state, @NotNull @NotNull com.vladsch.flexmark.util.ast.Node node)
- Parameters:
state
- node tracker used for optimizing node processingnode
- the node to post-process
-
-