Skip to content

Class ParsedCommandNode

Namespace: Void.Minecraft.Commands.Brigadier.Context
Assembly: Void.Minecraft.dll

Associates a matched command node with the input range it consumed.

public record ParsedCommandNode : IEquatable<ParsedCommandNode>

Inheritance

objectParsedCommandNode

Implements

IEquatable<ParsedCommandNode>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ParsedCommandNode(CommandNode, StringRange)

Associates a matched command node with the input range it consumed.

public ParsedCommandNode(CommandNode Node, StringRange Range)

Parameters

Node CommandNode

The matched node.

Range StringRange

The consumed range.

Properties

Node

The matched node.

public CommandNode Node { get; init; }

Property Value

CommandNode

Range

The consumed range.

public StringRange Range { get; init; }

Property Value

StringRange