Interface QueryParser

    • Method Detail

      • escape

        String escape​(String token)
        Escapes the provided string, making it into a text token.
        Parameters:
        token - a wannabe text token (maybe containing special characters, but no character below code 32).
        Returns:
        an escaped representation of token that will be interpreted as a text token by this parser.
      • escape

        MutableString escape​(MutableString token)
        Escapes the provided mutable string, making it into a text token.
        Parameters:
        token - a wannabe text token (maybe containing special characters, but no character below code 32).
        Returns:
        token, escaped so that it will be interpreted as a text token by this parser.