Interface ParsedLine

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int cursor()
      The cursor position within the line.
      java.lang.String line()
      The unparsed line.
      java.lang.String word()
      The current word being completed.
      int wordCursor()
      The cursor position within the current word.
      int wordIndex()
      The index of the current word in the list of words.
      java.util.List<java.lang.String> words()
      The list of words.
    • Method Detail

      • word

        java.lang.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

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

        java.lang.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