java.lang.Object
org.commonmark.internal.DocumentParser.MatchedBlockParserImpl
- All Implemented Interfaces:
MatchedBlockParser
- Enclosing class:
- DocumentParser
private static class DocumentParser.MatchedBlockParserImpl
extends Object
implements MatchedBlockParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current paragraph lines if the matched block is a paragraph.
-
Field Details
-
matchedBlockParser
-
-
Constructor Details
-
MatchedBlockParserImpl
-
-
Method Details
-
getMatchedBlockParser
- Specified by:
getMatchedBlockParserin interfaceMatchedBlockParser
-
getParagraphLines
Description copied from interface:MatchedBlockParserReturns the current paragraph lines if the matched block is a paragraph. If you want to use some or all of the lines for starting a new block instead, useBlockStart.replaceParagraphLines(int).- Specified by:
getParagraphLinesin interfaceMatchedBlockParser- Returns:
- paragraph content or an empty list
-