Interface ParsedLine

    • Method Detail

      • word

        String word()
        The current word being completed. If the cursor is after the last word, an empty string is returned.
        Returns:
        the word being completed or an empty string
      • wordCursor

        int wordCursor()
        The cursor position within the current word.
        Returns:
        the cursor position within the current word
      • wordIndex

        int wordIndex()
        The index of the current word in the list of words.
        Returns:
        the index of the current word in the list of words
      • words

        List<String> words()
        The list of words.
        Returns:
        the list of words
      • line

        String line()
        The unparsed line.
        Returns:
        the unparsed line
      • cursor

        int cursor()
        The cursor position within the line.
        Returns:
        the cursor position within the line