Class SuggestionInputRawImpl.Matcher
java.lang.Object
dev.rollczi.litecommands.argument.suggester.input.SuggestionInputRawImpl.Matcher
- All Implemented Interfaces:
SuggestionInputMatcher<SuggestionInputRawImpl.Matcher>,InputMatcher
- Enclosing class:
- SuggestionInputRawImpl
public class SuggestionInputRawImpl.Matcher
extends Object
implements SuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanboolean<SENDER,T> boolean isNextOptional(Argument<T> argument, ParserSet<SENDER, T> parserSet) <SENDER,T> SuggestionInputResult nextArgument(Invocation<SENDER> invocation, Argument<T> argument, ParserSet<SENDER, T> parserSet, Suggester<SENDER, T> suggester) boolean
-
Constructor Details
-
Matcher
public Matcher() -
Matcher
public Matcher(int pivotPosition)
-
-
Method Details
-
hasNextRoute
public boolean hasNextRoute()- Specified by:
hasNextRoutein interfaceInputMatcher- Specified by:
hasNextRoutein interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
nextRouteIsLast
public boolean nextRouteIsLast()- Specified by:
nextRouteIsLastin interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
hasNoNextRouteAndArguments
public boolean hasNoNextRouteAndArguments()- Specified by:
hasNoNextRouteAndArgumentsin interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
nextRoute
- Specified by:
nextRoutein interfaceInputMatcher- Specified by:
nextRoutein interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
showNextRoute
- Specified by:
showNextRoutein interfaceInputMatcher- Specified by:
showNextRoutein interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
isNextOptional
- Specified by:
isNextOptionalin interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
nextArgument
public <SENDER,T> SuggestionInputResult nextArgument(Invocation<SENDER> invocation, Argument<T> argument, ParserSet<SENDER, T> parserSet, Suggester<SENDER, T> suggester) - Specified by:
nextArgumentin interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-
copy
- Specified by:
copyin interfaceSuggestionInputMatcher<SuggestionInputRawImpl.Matcher>
-