public interface InlineParser
This interface is not intended to be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
void |
appendNode(com.vladsch.flexmark.ast.Node node) |
Text |
appendSeparateText(com.vladsch.flexmark.util.sequence.BasedSequence text) |
void |
appendText(com.vladsch.flexmark.util.sequence.BasedSequence text,
int beginIndex,
int endIndex) |
void |
finalizeDocument(com.vladsch.flexmark.ast.Document document) |
boolean |
flushTextNode() |
com.vladsch.flexmark.ast.Node |
getBlock() |
com.vladsch.flexmark.ast.Document |
getDocument() |
int |
getIndex() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getInput() |
Bracket |
getLastBracket() |
Delimiter |
getLastDelimiter() |
InlineParserOptions |
getOptions() |
Parsing |
getParsing() |
void |
initializeDocument(Parsing parsing,
com.vladsch.flexmark.ast.Document document) |
com.vladsch.flexmark.util.sequence.BasedSequence |
match(Pattern re) |
Matcher |
matcher(Pattern re) |
com.vladsch.flexmark.util.sequence.BasedSequence[] |
matchWithGroups(Pattern re) |
void |
mergeIfNeeded(Text first,
Text last) |
void |
mergeTextNodes(com.vladsch.flexmark.ast.Node fromNode,
com.vladsch.flexmark.ast.Node toNode) |
void |
moveNodes(com.vladsch.flexmark.ast.Node fromNode,
com.vladsch.flexmark.ast.Node toNode) |
boolean |
nonIndentSp() |
void |
parse(com.vladsch.flexmark.util.sequence.BasedSequence input,
com.vladsch.flexmark.ast.Node node) |
boolean |
parseAutolink() |
List<com.vladsch.flexmark.ast.Node> |
parseCustom(com.vladsch.flexmark.util.sequence.BasedSequence input,
com.vladsch.flexmark.ast.Node node,
BitSet customCharacters,
Map<Character,CharacterNodeFactory> nodeFactoryMap) |
boolean |
parseEntity() |
boolean |
parseHtmlInline() |
com.vladsch.flexmark.util.sequence.BasedSequence |
parseLinkDestination() |
int |
parseLinkLabel() |
com.vladsch.flexmark.util.sequence.BasedSequence |
parseLinkTitle() |
boolean |
parseNewline() |
char |
peek() |
char |
peek(int ahead) |
void |
processDelimiters(Delimiter stackBottom) |
void |
removeDelimiter(Delimiter delim) |
void |
removeDelimiterAndNode(Delimiter delim) |
void |
removeDelimiterKeepNode(Delimiter delim) |
void |
removeDelimitersBetween(Delimiter opener,
Delimiter closer) |
void |
setIndex(int index) |
boolean |
sp() |
boolean |
spnl() |
boolean |
spnlUrl() |
com.vladsch.flexmark.util.sequence.BasedSequence |
toEOL() |
void initializeDocument(Parsing parsing, com.vladsch.flexmark.ast.Document document)
void finalizeDocument(com.vladsch.flexmark.ast.Document document)
void parse(com.vladsch.flexmark.util.sequence.BasedSequence input,
com.vladsch.flexmark.ast.Node node)
input - the content to parse as inlinenode - the node to append resulting nodes to (as children)com.vladsch.flexmark.util.sequence.BasedSequence getInput()
int getIndex()
void setIndex(int index)
Delimiter getLastDelimiter()
Bracket getLastBracket()
com.vladsch.flexmark.ast.Document getDocument()
InlineParserOptions getOptions()
Parsing getParsing()
com.vladsch.flexmark.ast.Node getBlock()
List<com.vladsch.flexmark.ast.Node> parseCustom(com.vladsch.flexmark.util.sequence.BasedSequence input, com.vladsch.flexmark.ast.Node node, BitSet customCharacters, Map<Character,CharacterNodeFactory> nodeFactoryMap)
void mergeTextNodes(com.vladsch.flexmark.ast.Node fromNode,
com.vladsch.flexmark.ast.Node toNode)
void moveNodes(com.vladsch.flexmark.ast.Node fromNode,
com.vladsch.flexmark.ast.Node toNode)
void appendText(com.vladsch.flexmark.util.sequence.BasedSequence text,
int beginIndex,
int endIndex)
void appendNode(com.vladsch.flexmark.ast.Node node)
Text appendSeparateText(com.vladsch.flexmark.util.sequence.BasedSequence text)
boolean flushTextNode()
com.vladsch.flexmark.util.sequence.BasedSequence match(Pattern re)
com.vladsch.flexmark.util.sequence.BasedSequence[] matchWithGroups(Pattern re)
char peek()
char peek(int ahead)
boolean spnl()
boolean nonIndentSp()
boolean sp()
boolean spnlUrl()
com.vladsch.flexmark.util.sequence.BasedSequence toEOL()
boolean parseNewline()
com.vladsch.flexmark.util.sequence.BasedSequence parseLinkDestination()
com.vladsch.flexmark.util.sequence.BasedSequence parseLinkTitle()
int parseLinkLabel()
boolean parseAutolink()
boolean parseHtmlInline()
boolean parseEntity()
void processDelimiters(Delimiter stackBottom)
void removeDelimiterAndNode(Delimiter delim)
void removeDelimiterKeepNode(Delimiter delim)
void removeDelimiter(Delimiter delim)
Copyright © 2018. All rights reserved.