Interface ITreeVisitor<T>
Interface for a visitor over generic trees.
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public interface ITreeVisitor<T>
Type Parameters
Name | Description |
---|---|
T | Type of the data contained in the tree nodes. |
Methods
Visit(ITree<T>)
Visits the specified tree.
Declaration
ITree<T> Visit(ITree<T> node)
Parameters
Type | Name | Description |
---|---|---|
ITree<T> | node | Tree to visit. |
Returns
Type | Description |
---|---|
ITree<T> | Result of the visit. |