Constructor and Description |
---|
CommandParser(String input,
Context ctx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Command[] |
parse()
Parses the input and returns a command list.
|
Command |
parseSingle()
Parses the input as single command and returns the resulting command.
|
CommandParser |
pwReader(PasswordReader pr)
Attaches a password reader.
|
Command[] |
suggest()
Parses the input and creates command completions on the way.
|
public CommandParser pwReader(PasswordReader pr)
pr
- password readerpublic Command parseSingle() throws QueryException
QueryException
- query exceptionpublic Command[] parse() throws QueryException
QueryException
- query exceptionpublic Command[] suggest() throws QueryException
QueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.