Top Methods
com.vladsch.flexmark.parser.block

public Interface BlockPreProcessorFactory

extends Function<ParserState, BlockPreProcessor>, Dependent
Imports
com.vladsch.flexmark.util.ast.Block, com.vladsch.flexmark.util.dependency.Dependent, org.jetbrains.annotations.NotNull, java.util.Set, java.util.function.Function

Method Summary

Modifier and TypeMethod and Description
public @NotNull BlockPreProcessor

Returns:

block pre-processor
apply
(@NotNull ParserState
parser state, document blocks have already been parsed at this stage
state
)

Redeclares java.util.function.Function.apply.

Create a paragraph pre processor for the document

public @NotNull Set<Class<? extends Block>>

Returns:

set of block node types
getBlockTypes
()

Block types that this pre-processors processes

Inherited from com.vladsch.flexmark.util.dependency.Dependent:
affectsGlobalScopegetAfterDependentsgetBeforeDependents
Inherited from java.util.function.Function:
andThencomposeidentity

Method Detail

applyback to summary
public @NotNull BlockPreProcessor apply(@NotNull ParserState state)

Redeclares java.util.function.Function.apply.

Create a paragraph pre processor for the document

Parameters
state:@NotNull ParserState

parser state, document blocks have already been parsed at this stage

Returns:@NotNull BlockPreProcessor

block pre-processor

Annotations
@NotNull
getBlockTypesback to summary
public @NotNull Set<Class<? extends Block>> getBlockTypes()

Block types that this pre-processors processes

Returns:@NotNull Set<Class<? extends Block>>

set of block node types

Annotations
@NotNull