MrKWatkins.Ast 0.9.132 Help

NodeValidator<TBaseNode, TNode> Class

Definition

An NodeProcessor<TBaseNode, TNode> for validating nodes of a specific type in a tree.

public abstract class NodeValidator<TBaseNode, TNode> : NodeProcessor<TBaseNode, TNode> where TBaseNode : Node<TBaseNode> where TNode : TBaseNode

Type Parameters

Name

Description

TBaseNode

The base type of nodes in the tree.

TNode

The type of nodes to validate.

Constructors

Name

Description

NodeValidator()

Methods

Name

Description

Process(TNode)

Validate(TNode)

Validate the node and return any Messages to attach to the node to describe any validation issues.

Last modified: 12 August 2025