Interface CommandParser.Parsed

Enclosing class:
CommandParser

public static interface CommandParser.Parsed
Parsed Command Class
  • Method Details

    • escape

      CharSequence escape(CharSequence argument, boolean complete)
      Escapes the next argument
      Parameters:
      argument - Argument to escape
      complete - Whether this argument should be finished off
      Returns:
      Escaped Argument
    • word

      String word()
      Get the current Word
      Returns:
      Current Word
    • words

      List<String> words()
      Get the Word List
      Returns:
      Word List
    • wordCursor

      int wordCursor()
      Get the current Word Cursor
      Returns:
      Word Cursor
    • wordIndex

      int wordIndex()
      Get the current Word Index
      Returns:
      Word Index
    • rawWord

      String rawWord()
      Get the current Raw Word
      Returns:
      Raw Word
    • rawWords

      List<String> rawWords()
      Get the Raw Word List
      Returns:
      Raw Word List
    • rawWordCursor

      int rawWordCursor()
      Get the current Raw Word Cursor
      Returns:
      Raw Word Cursor
    • rawWordLength

      int rawWordLength()
      Get the current Raw Word Index
      Returns:
      Raw Word Index
    • line

      String line()
      Get the full Input Line
      Returns:
      Input Line
    • cursor

      int cursor()
      Get the full Input Line Cursor
      Returns:
      Input Line Cursor