public class ParsedLineImpl extends Object implements org.jline.reader.ParsedLine
| Constructor and Description |
|---|
ParsedLineImpl(org.apache.felix.gogo.runtime.Parser.Program program,
org.apache.felix.gogo.runtime.Token line,
int cursor,
List<org.apache.felix.gogo.runtime.Token> tokens) |
| Modifier and Type | Method and Description |
|---|---|
int |
cursor() |
String |
line() |
org.apache.felix.gogo.runtime.Parser.Program |
program() |
String |
word() |
int |
wordCursor() |
int |
wordIndex() |
List<String> |
words() |
public ParsedLineImpl(org.apache.felix.gogo.runtime.Parser.Program program,
org.apache.felix.gogo.runtime.Token line,
int cursor,
List<org.apache.felix.gogo.runtime.Token> tokens)
public String word()
word in interface org.jline.reader.ParsedLinepublic int wordCursor()
wordCursor in interface org.jline.reader.ParsedLinepublic int wordIndex()
wordIndex in interface org.jline.reader.ParsedLinepublic String line()
line in interface org.jline.reader.ParsedLinepublic int cursor()
cursor in interface org.jline.reader.ParsedLinepublic org.apache.felix.gogo.runtime.Parser.Program program()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.