MarkdownParser

class MarkdownParser(val nodeSet: NodeSet, val blockParsers: List<(BlockContext, Line) -> BlockResult?>, val leafBlockParsers: List<(BlockContext, LeafBlock) -> LeafBlockParser??>, val blockNames: List<String>, val endLeafBlock: List<(BlockContext, Line, LeafBlock) -> Boolean>, val skipContextMarkup: Map<Int, (CompositeBlock, BlockContext, Line) -> Boolean>, val inlineParsers: List<(InlineContext, Int, Int) -> Int?>, val inlineNames: List<String>, val wrappers: List<ParseWrapper>) : Parser

Constructors

Link copied to clipboard
constructor(nodeSet: NodeSet, blockParsers: List<(BlockContext, Line) -> BlockResult?>, leafBlockParsers: List<(BlockContext, LeafBlock) -> LeafBlockParser??>, blockNames: List<String>, endLeafBlock: List<(BlockContext, Line, LeafBlock) -> Boolean>, skipContextMarkup: Map<Int, (CompositeBlock, BlockContext, Line) -> Boolean>, inlineParsers: List<(InlineContext, Int, Int) -> Int?>, inlineNames: List<String>, wrappers: List<ParseWrapper>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun createParse(input: Input, fragments: List<TreeFragment>, ranges: List<TextRange>): PartialParse
Link copied to clipboard
fun parse(input: Input, fragments: List<TreeFragment>, ranges: List<TextRange>?): Tree
fun parse(input: String, fragments: List<TreeFragment>, ranges: List<TextRange>?): Tree
Link copied to clipboard
fun parseInline(text: String, offset: Int): List<Element>
Link copied to clipboard
fun startParse(input: Input, fragments: List<TreeFragment>, ranges: List<TextRange>?): PartialParse
fun startParse(input: String, fragments: List<TreeFragment>, ranges: List<TextRange>?): PartialParse