Top Description Methods
com.vladsch.flexmark.parser

public Interface InlineParser

extends LightInlineParser
Known Direct Implementers
com.vladsch.flexmark.parser.internal.InlineParserImpl
Imports
com.vladsch.flexmark.ast.Text, com.vladsch.flexmark.parser.block.CharacterNodeFactory, com.vladsch.flexmark.parser.core.delimiter.Bracket, .Delimiter, com.vladsch.flexmark.util.ast.Document, .Node, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, .Nullable, java.util.BitSet, .List, .Map

Parser for inline content (text, links, emphasized text, etc).

This interface is not intended to be implemented by clients.

Method Summary

Modifier and TypeMethod and Description
public void
public @Nullable Bracket
public @Nullable Delimiter
public void
public void
public void
public void
parse(@NotNull BasedSequence
the content to parse as inline
input
,
@NotNull Node
the node to append resulting nodes to (as children)
node
)

public @Nullable List<Node>
public boolean
public boolean
public @Nullable BasedSequence
public int
public @Nullable BasedSequence
public boolean
public void
public void
public void
public void
public void
public @Nullable BasedSequence
Inherited from com.vladsch.flexmark.parser.LightInlineParser:
appendNodeappendSeparateTextappendTextappendTextflushTextNodegetBlockgetCurrentTextgetDocumentgetIndexgetInputgetOptionsgetParsingmatchmatchermatchWithGroupsmoveNodesnonIndentSppeekpeeksetBlocksetDocumentsetIndexsetInputspspnlspnlUrl

Method Detail

finalizeDocumentback to summary
public void finalizeDocument(@NotNull Document document)
getLastBracketback to summary
public @Nullable Bracket getLastBracket()
Annotations
@Nullable
getLastDelimiterback to summary
public @Nullable Delimiter getLastDelimiter()
Annotations
@Nullable
initializeDocumentback to summary
public void initializeDocument(@NotNull Document document)
mergeIfNeededback to summary
public void mergeIfNeeded(@Nullable Text first, @Nullable Text last)
mergeTextNodesback to summary
public void mergeTextNodes(@Nullable Node fromNode, @Nullable Node toNode)
parseback to summary
public void parse(@NotNull BasedSequence input, @NotNull Node node)
Parameters
input:@NotNull BasedSequence

the content to parse as inline

node:@NotNull Node

the node to append resulting nodes to (as children)

parseCustomback to summary
public @Nullable List<Node> parseCustom(@NotNull BasedSequence input, @NotNull Node node, @NotNull BitSet customCharacters, @NotNull Map<Character, CharacterNodeFactory> nodeFactoryMap)
Annotations
@Nullable
parseEntityback to summary
public boolean parseEntity()
parseHtmlInlineback to summary
public boolean parseHtmlInline()
parseLinkDestinationback to summary
public @Nullable BasedSequence parseLinkDestination()
Annotations
@Nullable
parseLinkLabelback to summary
public int parseLinkLabel()
parseLinkTitleback to summary
public @Nullable BasedSequence parseLinkTitle()
Annotations
@Nullable
parseNewlineback to summary
public boolean parseNewline()
processDelimitersback to summary
public void processDelimiters(@Nullable Delimiter stackBottom)
removeDelimiterback to summary
public void removeDelimiter(@NotNull Delimiter delim)
removeDelimiterAndNodeback to summary
public void removeDelimiterAndNode(@NotNull Delimiter delim)
removeDelimiterKeepNodeback to summary
public void removeDelimiterKeepNode(@NotNull Delimiter delim)
removeDelimitersBetweenback to summary
public void removeDelimitersBetween(@NotNull Delimiter opener, @NotNull Delimiter closer)
toEOLback to summary
public @Nullable BasedSequence toEOL()

Redeclares com.vladsch.flexmark.parser.LightInlineParser.toEOL.

Annotations
@Nullable