Class CompoundParser<T>

java.lang.Object
net.apartium.cocoabeans.commands.parsers.ArgumentParser<T>
net.apartium.cocoabeans.commands.parsers.CompoundParser<T>
All Implemented Interfaces:
Comparable<ArgumentParser<?>>, GenericNode

@AvailableSince("0.0.37") public class CompoundParser<T> extends ArgumentParser<T> implements GenericNode
  • Constructor Details

    • CompoundParser

      @Deprecated(since="0.0.38", forRemoval=true) protected CompoundParser(String keyword, Class<T> clazz, int priority, ArgumentMapper argumentMapper, CommandLexer commandLexer)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a new parser
      Parameters:
      keyword - keyword of the parser
      clazz - output class
      priority - priority
      argumentMapper - argument mapper
      commandLexer - command lexer
    • CompoundParser

      @AvailableSince("0.0.38") protected CompoundParser(String keyword, Class<T> clazz, int priority, EvaluationContext evaluationContext)
      Constructs a new parser
      Parameters:
      keyword - keyword of the parser
      clazz - output class
      priority - priority
      evaluationContext - evaluation context
  • Method Details