Package org.commonmark.parser
Interface InlineParserContext
-
- All Known Implementing Classes:
InlineParserContextImpl
public interface InlineParserContext
Context for inline parsing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<DelimiterProcessor>
getCustomDelimiterProcessors()
LinkReferenceDefinition
getLinkReferenceDefinition(java.lang.String label)
Look up aLinkReferenceDefinition
for a given label.
-
-
-
Method Detail
-
getCustomDelimiterProcessors
java.util.List<DelimiterProcessor> getCustomDelimiterProcessors()
- Returns:
- custom delimiter processors that have been configured with
Parser.Builder.customDelimiterProcessor(DelimiterProcessor)
-
getLinkReferenceDefinition
LinkReferenceDefinition getLinkReferenceDefinition(java.lang.String label)
Look up aLinkReferenceDefinition
for a given label.Note that the label is not normalized yet; implementations are responsible for normalizing before lookup.
- Parameters:
label
- the link label to look up- Returns:
- the definition if one exists,
null
otherwise
-
-