public static interface Parser.ParserExtension extends Extension
Parser.
Implementations of this interface should done by all Extensions that extend the core parser
Each will be called via ParserExtension#extend(Builder) method giving it a chance to call back
on the builder methods to register parser extension points
EMPTY_LIST, EMPTY_SET| Modifier and Type | Method and Description |
|---|---|
void |
extend(Parser.Builder parserBuilder)
This method is called on all extensions so that they can register their custom processors
|
void |
parserOptions(com.vladsch.flexmark.util.options.MutableDataHolder options)
This method is called first on all extensions so that they can adjust the options that must be common to all extensions.
|
void parserOptions(com.vladsch.flexmark.util.options.MutableDataHolder options)
options - option set that will be used for the buildervoid extend(Parser.Builder parserBuilder)
parserBuilder - parser builder with which to register extensionsParser.Builder.customBlockParserFactory(CustomBlockParserFactory),
Parser.Builder.customInlineParserExtensionFactory(InlineParserExtensionFactory),
Parser.Builder.customInlineParserFactory(InlineParserFactory),
Parser.Builder.customDelimiterProcessor(DelimiterProcessor),
Parser.Builder.postProcessorFactory(PostProcessorFactory),
Parser.Builder.paragraphPreProcessorFactory(ParagraphPreProcessorFactory),
Parser.Builder.blockPreProcessorFactory(BlockPreProcessorFactory),
Parser.Builder.linkRefProcessorFactory(LinkRefProcessorFactory)Copyright © 2018. All rights reserved.