Class ParsedArgument
Namespace: Void.Minecraft.Commands.Brigadier.Context
Assembly: Void.Minecraft.dll
Associates a parsed argument value with its input range.
public record ParsedArgument : IParsedArgument, IEquatable<ParsedArgument>Inheritance
Implements
IParsedArgument, IEquatable<ParsedArgument>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ParsedArgument(int, int, IArgumentValue)
Associates a parsed argument value with its input range.
public ParsedArgument(int Start, int End, IArgumentValue Result)Parameters
Start int
The inclusive start cursor.
End int
The exclusive end cursor.
Result IArgumentValue
The parsed value.
Properties
End
The exclusive end cursor.
public int End { get; init; }Property Value
Range
Gets the range from
public StringRange Range { get; }Property Value
Result
The parsed value.
public IArgumentValue Result { get; init; }Property Value
Start
The inclusive start cursor.
public int Start { get; init; }