MrKWatkins.Ast Help

Pipeline<TNode> Class

Definition

A pipeline to process nodes in a tree. A pipeline consists of multiple named stages, each of which has one or more Processor<TNode>s running in serial or parallel. Stages can optionally specify whether pipeline processing should continue once the stage has completed. By default, processing will not continue if there are any errors in the tree.

public sealed class Pipeline<TNode> where TNode : Node<TNode>

Type Parameters

Name

Description

TNode

The type of nodes in the tree.

Methods

Name

Description

Build(Action<PipelineBuilder<TNode>>)

Fluent interface to build a Pipeline<TNode>.

Run(TNode)

Runs the pipeline on the specified root node.

Run(TNode, String)

Runs the pipeline on the specified root node.

Last modified: 09 September 2024