Class PatternParser<C>
- java.lang.Object
-
- ca.stellardrift.permissionsex.minecraft.command.argument.PatternParser<C>
-
- Type Parameters:
C- the sender type
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,Pattern>
public final class PatternParser<C> extends Object implements cloud.commandframework.arguments.parser.ArgumentParser<C,Pattern>
A parser for regular expressions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatternParser.PatternParseException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangreedy()booleanisContextFree()@NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull Pattern>parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue)
-
-
-
Method Detail
-
parse
public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull Pattern> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue)
-
greedy
public boolean greedy()
-
isContextFree
public boolean isContextFree()
-
-