MrKWatkins.Ast Help

OrderedProcessorWithContext<TContext, TNode>.ShouldProcessNode Method

Definition

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

protected virtual bool ShouldProcessNode(TContext? context, TNode node);

Parameters

Name

Type

Description

context

TContext

The context object.

node

TNode

The node.

Returns

Boolean

true if node should be processed, false otherwise.

Last modified: 09 November 2024