- java.lang.Object
-
- org.jline.builtins.Completers.RegexCompleter.ArgumentLine
-
- All Implemented Interfaces:
ParsedLine
- Enclosing class:
- Completers.RegexCompleter
public static class Completers.RegexCompleter.ArgumentLine extends Object implements ParsedLine
-
-
Constructor Summary
Constructors Constructor Description ArgumentLine(String word, int cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcursor()Stringline()Stringword()intwordCursor()intwordIndex()List<String>words()
-
-
-
Constructor Detail
-
ArgumentLine
public ArgumentLine(String word, int cursor)
-
-
Method Detail
-
word
public String word()
- Specified by:
wordin interfaceParsedLine
-
wordCursor
public int wordCursor()
- Specified by:
wordCursorin interfaceParsedLine
-
wordIndex
public int wordIndex()
- Specified by:
wordIndexin interfaceParsedLine
-
words
public List<String> words()
- Specified by:
wordsin interfaceParsedLine
-
line
public String line()
- Specified by:
linein interfaceParsedLine
-
cursor
public int cursor()
- Specified by:
cursorin interfaceParsedLine
-
-