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
Implements
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
Range
The consumed range.
public StringRange Range { get; init; }