Pipeline

constructor(context: MutableContext, options: PipelineOptions, libraries: Set<Library>, renderer: (RendererFactory, Context) -> RenderingComponents, hooks: PipelineHooks? = null)

Parameters

context

initial context data shared across this pipeline, which will is filled with useful information that are handed over to other stages of this pipeline. This allows gathering information on-the-fly without additional visits of the whole tree

libraries

libraries to load and look up functions from

renderer

supplier of the renderer implementation to use, produced by the flavor's RendererFactory with the output attributes of the parser as an argument

hooks

optional actions to run after each stage has been completed