Class 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.
    • Method Detail

      • parse

        public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull Patternparse​(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext,
                                                                                                            @NonNull Queue<@NonNull String> inputQueue)
        Specified by:
        parse in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​Pattern>
      • greedy

        public boolean greedy()
      • isContextFree

        public boolean isContextFree()
        Specified by:
        isContextFree in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​Pattern>