MrKWatkins.Ast 0.9.132 Help

Replacer<TContext, TBaseNode> Class

Definition

An OrderedProcessor<TContext, TBaseNode> for optionally replacing nodes in a tree.

public abstract class Replacer<TContext, TBaseNode> : OrderedProcessor<TContext, TBaseNode> where TBaseNode : Node<TBaseNode>

Type Parameters

Name

Description

TContext

The type of the processing context.

TBaseNode

The base type of nodes in the tree.

Constructors

Name

Description

Replacer()

Methods

Name

Description

Process(TContext, TBaseNode)

Replace(TContext, TBaseNode)

Optionally replace the specified node.

Last modified: 12 August 2025