MrKWatkins.Ast Help

PipelineStageBuilder<TSelf, TProcessor, TNode>.WithShouldContinue Method

Definition

Sets a function to determine whether processing should continue after this stage or not. Any previously registered function will be replaced. By default, processing will not continue if there are any errors in the tree.

public TSelf WithShouldContinue(Func<TNode, bool> shouldContinue);

Parameters

Name

Type

Description

shouldContinue

Func<TNode, Boolean>

A function that takes the root node and returns true if processing should continue, false otherwise.

Returns

TSelf

The fluent builder.

Last modified: 09 September 2024