MrKWatkins.Ast Help

OrderedProcessorWithContext<TContext, TBaseNode, TNode>.ShouldProcessChildren Method

Definition

Override this method to optionally decide whether to process the children of the specified node or not. Defaults to processing all nodes.

protected virtual bool ShouldProcessChildren(TContext? context, TBaseNode node);

Parameters

Name

Type

Description

context

TContext

The context object.

node

TBaseNode

The node.

Returns

Boolean

true if children should be processed, false otherwise.

Last modified: 09 September 2024