APIdia Launch Partner
Top Description Methods
jdk.internal.org.commonmark.parser.block

public Interface MatchedBlockParser

Known Direct Implementers
jdk.internal.org.commonmark.internal.DocumentParser.MatchedBlockParserImpl
Imports
jdk.internal.org.commonmark.parser.SourceLines

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 TypeMethod and Description
public BlockParser
public SourceLines

Returns:

paragraph content or an empty list
getParagraphLines
()

Returns the current paragraph lines if the matched block is a paragraph.

Method Detail

getMatchedBlockParserback to summary
public BlockParser getMatchedBlockParser()
getParagraphLinesback to summary
public SourceLines getParagraphLines()

Returns the current paragraph lines if the matched block is a paragraph.

Returns:SourceLines

paragraph content or an empty list