org.pkl.thirdparty.commonmark.parser.block.MatchedBlockParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pkl-tools Show documentation
Show all versions of pkl-tools Show documentation
Fat Jar containing pkl-cli, pkl-codegen-java, pkl-codegen-kotlin, pkl-config-java, pkl-core, pkl-doc, and their shaded third-party dependencies.
package org.pkl.thirdparty.commonmark.parser.block;
import org.pkl.thirdparty.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.
*/
public interface MatchedBlockParser {
BlockParser getMatchedBlockParser();
/**
* Returns the current paragraph lines if the matched block is a paragraph.
*
* @return paragraph content or an empty list
*/
SourceLines getParagraphLines();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy