Class ExtendedDefaultParser.ExtendedArgumentList

java.lang.Object
org.springframework.shell.jline.ExtendedDefaultParser.ExtendedArgumentList
All Implemented Interfaces:
org.jline.reader.ParsedLine, CompletingParsedLine
Enclosing class:
ExtendedDefaultParser

public class ExtendedDefaultParser.ExtendedArgumentList extends Object implements org.jline.reader.ParsedLine, CompletingParsedLine
The result of a delimited buffer.
  • Constructor Details

    • ExtendedArgumentList

      public ExtendedArgumentList(String line, List<String> words, int wordIndex, int wordCursor, int cursor, String openingQuote)
  • Method Details

    • wordIndex

      public int wordIndex()
      Specified by:
      wordIndex in interface org.jline.reader.ParsedLine
    • word

      public String word()
      Specified by:
      word in interface org.jline.reader.ParsedLine
    • wordCursor

      public int wordCursor()
      Specified by:
      wordCursor in interface org.jline.reader.ParsedLine
    • words

      public List<String> words()
      Specified by:
      words in interface org.jline.reader.ParsedLine
    • cursor

      public int cursor()
      Specified by:
      cursor in interface org.jline.reader.ParsedLine
    • line

      public String line()
      Specified by:
      line in interface org.jline.reader.ParsedLine
    • emit

      public CharSequence emit(CharSequence candidate)
      Specified by:
      emit in interface CompletingParsedLine