Class ParseResult<S extends CommandSource>
java.lang.Object
studio.mevera.imperat.command.tree.ParseResult<S>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic <S extends CommandSource>
ParseResult<S>intint@Nullable Object@Nullable Stringbooleanbooleanstatic <S extends CommandSource>
ParseResult<S>successful(Object value, @Nullable Argument<S> argument, @Nullable String rawInput, int inputPosition, int nextDepth) @NotNull ParsedArgument<S>
-
Method Details
-
successful
public static <S extends CommandSource> ParseResult<S> successful(Object value, @Nullable @Nullable Argument<S> argument, @Nullable @Nullable String rawInput, int inputPosition, int nextDepth) -
failed
-
isSuccessful
public boolean isSuccessful() -
isFailure
public boolean isFailure() -
getParsedValue
-
getArgument
-
getRawInput
-
getInputPosition
public int getInputPosition() -
getNextDepth
public int getNextDepth() -
canReuseInExecution
public boolean canReuseInExecution() -
toParsedArgument
-