parse

fun parse(tokens: List<Token>, context: MutableContext = this.context): Document

Parses a list of tokens into an Abstract Syntax Tree.

Parameters

tokens

tokens to parse

context

context to use for parsing, usually a child of this pipeline's context. If not provided, the pipeline's context is used.

See also