MrKWatkins.Ast Help

UnorderedProcessor<TBaseNode, TNode> Class

Definition

A Processor<TNode> that processes the nodes of a specific type in a tree without caring about the order they are processed in.

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

Type Parameters

Name

Description

TBaseNode

The base type of nodes in the tree.

TNode

The type of nodes to process.

Constructors

Name

Description

UnorderedProcessor()

Methods

Name

Description

ProcessNode(TNode)

Process the specified node.

ShouldProcessNode(TNode)

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

Last modified: 22 November 2024