Package io.trino.cli
Class InputParser
- java.lang.Object
-
- io.trino.cli.InputParser
-
- All Implemented Interfaces:
org.jline.reader.Parser
public class InputParser extends Object implements org.jline.reader.Parser
-
-
Constructor Summary
Constructors Constructor Description InputParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEscapeChar(char ch)org.jline.reader.ParsedLineparse(String line, int cursor, org.jline.reader.Parser.ParseContext context)
-
-
-
Method Detail
-
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
-
-