MrKWatkins.Ast 0.9.132 Help

NodeProcessor<TContext, TBaseNode, TNode> Class

Definition

Performs some processing on a given node of a specific type using a processing context in a Pipeline<TContext, TBaseNode>.

public abstract class NodeProcessor<TContext, TBaseNode, TNode> : Processor<TContext, TBaseNode> where TBaseNode : Node<TBaseNode> where TNode : TBaseNode

Type Parameters

Name

Description

TContext

The type of the processing context.

TBaseNode

The type of nodes in the tree.

TNode

The type of node to process.

Constructors

Name

Description

NodeProcessor()

Methods

Name

Description

Process(TContext, TBaseNode)

Performs processing on the specified node if it is of type TNode. Does not process any descendents.

Process(TContext, TNode)

Performs processing on the specified node. Does not process any descendents.

Last modified: 12 August 2025