Replacer<TBaseNode> Class
Definition
An OrderedProcessor<TBaseNode> for optionally replacing nodes in a tree.
public abstract class Replacer<TBaseNode> : OrderedProcessor<TBaseNode>
where TBaseNode : Node<TBaseNode>
Type Parameters
| Name | Description |
|---|---|
TBaseNode |
The base type of nodes in the tree. |
Constructors
| Name | Description |
|---|---|
Replacer() |
Methods
| Name | Description |
|---|---|
Process(TBaseNode) |
Performs processing on the specified node. Does not process any descendents. |
Replace(TBaseNode) |
Optionally replace the specified node. |