public static class DefaultParser.ArgumentList extends Object implements ParsedLine
| Constructor and Description |
|---|
ArgumentList(String line,
List<String> words,
int wordIndex,
int wordCursor,
int cursor) |
| Modifier and Type | Method and Description |
|---|---|
int |
cursor()
The cursor position within the line
|
String |
line()
The unparsed line
|
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
|
List<String> |
words()
The list of words
|
public int wordIndex()
ParsedLinewordIndex in interface ParsedLinepublic String word()
ParsedLineword in interface ParsedLinepublic int wordCursor()
ParsedLinewordCursor in interface ParsedLinepublic List<String> words()
ParsedLinewords in interface ParsedLinepublic int cursor()
ParsedLinecursor in interface ParsedLinepublic String line()
ParsedLineline in interface ParsedLineCopyright © 2020. All rights reserved.