Package io.trino.cli
Class InputParser
java.lang.Object
io.trino.cli.InputParser
- All Implemented Interfaces:
org.jline.reader.Parser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jline.reader.Parser
org.jline.reader.Parser.ParseContext -
Field Summary
Fields inherited from interface org.jline.reader.Parser
REGEX_COMMAND, REGEX_VARIABLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.reader.Parser
getCommand, getVariable, parse, validCommandName, validVariableName
-
Constructor Details
-
InputParser
public InputParser()
-
-
Method Details
-
parse
public org.jline.reader.ParsedLine parse(String line, int cursor, org.jline.reader.Parser.ParseContext context) throws org.jline.reader.SyntaxError - Specified by:
parsein interfaceorg.jline.reader.Parser- Throws:
org.jline.reader.SyntaxError
-
isEscapeChar
public boolean isEscapeChar(char ch) - Specified by:
isEscapeCharin interfaceorg.jline.reader.Parser
-