Package io.trino.cli

Class InputParser

  • All Implemented Interfaces:
    org.jline.reader.Parser

    public class InputParser
    extends Object
    implements 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 
      Constructor Description
      InputParser()  
    • Constructor Detail

      • InputParser

        public InputParser()
    • 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:
        parse in interface org.jline.reader.Parser
        Throws:
        org.jline.reader.SyntaxError
      • isEscapeChar

        public boolean isEscapeChar​(char ch)
        Specified by:
        isEscapeChar in interface org.jline.reader.Parser