MrKWatkins.Ast 0.9.135 Help

NodeProcessor<TContext, TBaseNode, TNode>.Process Method

Overloads

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.

Process(TContext, TBaseNode)

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

public sealed override TBaseNode Process(TContext context, TBaseNode node);

Parameters

Name

Type

Description

context

TContext

The processing context.

node

TBaseNode

The node to process.

Returns

TBaseNode

The root node of the tree, which may have been replaced.

Process(TContext, TNode)

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

protected new abstract TBaseNode Process(TContext context, TNode node);

Parameters

Name

Type

Description

context

TContext

The processing context.

node

TNode

The node to process.

Returns

TBaseNode

The root node of the tree, which may have been replaced.

Last modified: 10 March 2026