MrKWatkins.Ast Help

PropertyNode<TNode> Class

Definition

Abstract base class for nodes in a tree with a collection of arbitrary properties that can be copied.

public abstract class PropertyNode<TNode> : Node<TNode> where TNode : PropertyNode<TNode>

Type Parameters

Name

Description

TNode

Self generic node parameter.

Constructors

Name

Description

PropertyNode()

Initialises a new instance of the Node<TNode> class.

PropertyNode(IEnumerable<TNode>)

Initialises a new instance of the Node<TNode> class with the specified children.

Properties

Name

Description

Properties

The Properties associated with this node.

Methods

Name

Description

Copy()

Copies this node and its Properties using the DefaultNodeFactory<TNode>.

Copy(INodeFactory<TNode>)

Copies this node and its Properties using the specified INodeFactory<TNode>.

Last modified: 09 September 2024