Package org.commonmark.parser.block
Interface MatchedBlockParser
- All Known Implementing Classes:
DocumentParser.MatchedBlockParserImpl
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
Modifier and TypeMethodDescriptionReturns the current paragraph lines if the matched block is a paragraph.
-
Method Details
-
getMatchedBlockParser
BlockParser getMatchedBlockParser() -
getParagraphLines
SourceLines getParagraphLines()Returns the current paragraph lines if the matched block is a paragraph.- Returns:
- paragraph content or an empty list
-