Package-level declarations

Types

Link copied to clipboard
fun interface CancellationToken
Link copied to clipboard
class InlineBuilder(nodeBuilder: ASTNodeBuilder, tokensCache: TokensCache, cancellationToken: CancellationToken) : TreeBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class MarkdownParser(flavour: MarkdownFlavourDescriptor, assertionsEnabled: Boolean = true, cancellationToken: CancellationToken = CancellationToken.NonCancellable)
Link copied to clipboard
abstract class MarkerProcessor<T : MarkerProcessor.StateInfo>(productionHolder: ProductionHolder, startConstraints: MarkdownConstraints)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Mutable AST node that accept appending chunks.

Link copied to clipboard
class TopLevelBuilder(nodeBuilder: ASTNodeBuilder, cancellationToken: CancellationToken) : TreeBuilder
Link copied to clipboard
abstract class TreeBuilder(nodeBuilder: ASTNodeBuilder, cancellationToken: CancellationToken)

Functions

Link copied to clipboard

Fills productionHolder with the blocks of text, and returns the blocks that are still open at the end of text. The step finds the block boundaries only. It builds no ASTNode, and it parses no inline content.

Link copied to clipboard

Creates a StreamingMarkdownFile whose StreamingMarkdownFile.append checks cancellationToken while parsing, so an append can be aborted. This matters most when the StreamingMarkdownFile.unstableTail is large, since the whole of it is reparsed on every append.