Interface MatchedBlockParser
-
public interface MatchedBlockParser
Open block parser that was last matched during the continue phase. This is different from the currently active block parser, as an unmatched block is only closed when a new block is started.This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockParser
getBlockParser()
com.vladsch.flexmark.util.sequence.BasedSequence
getParagraphContent()
Returns the current content of the paragraph if the matched block is a paragraph.com.vladsch.flexmark.util.data.MutableDataHolder
getParagraphDataHolder()
List<Integer>
getParagraphEolLengths()
List<com.vladsch.flexmark.util.sequence.BasedSequence>
getParagraphLines()
-
-
-
Method Detail
-
getBlockParser
BlockParser getBlockParser()
- Returns:
- current matched block parser instance
-
getParagraphContent
com.vladsch.flexmark.util.sequence.BasedSequence getParagraphContent()
Returns the current content of the paragraph if the matched block is a paragraph. The content can be multiple lines separated by'\n'
.- Returns:
- paragraph content or
null
-
getParagraphLines
List<com.vladsch.flexmark.util.sequence.BasedSequence> getParagraphLines()
-
getParagraphDataHolder
com.vladsch.flexmark.util.data.MutableDataHolder getParagraphDataHolder()
-
-