Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class InlineBuilder(nodeBuilder: ASTNodeBuilder, tokensCache: TokensCache, cancellationToken: CancellationToken) : TreeBuilder
Link copied to clipboard
Link copied to clipboard
class LookaheadText
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
interface MarkerProcessorFactory
Link copied to clipboard
class ProductionHolder
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
Functions
Link copied to clipboard
fun collectBlockProduction(flavour: MarkdownFlavourDescriptor, root: IElementType, text: CharSequence, productionHolder: ProductionHolder, cancellationToken: CancellationToken): List<MarkerBlock>
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
fun EmptyStreamingMarkdownFile(flavour: MarkdownFlavourDescriptor = GFMFlavourDescriptor()): StreamingMarkdownFile
fun EmptyStreamingMarkdownFile(flavour: MarkdownFlavourDescriptor, cancellationToken: CancellationToken): StreamingMarkdownFile
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.