MrKWatkins.Ast Help

INodeFactory<TNode> Interface

Definition

Factory to create nodes for a tree.

public abstract interface INodeFactory<TNode> where TNode : Node<TNode>

Type Parameters

Name

Description

TNode

The base type of nodes to create.

Methods

Name

Description

Create(Type)

Creates a node of the specified type. The node must inherit from TNode.

Create<T>()

Creates a node of the specified type.

Last modified: 09 September 2024