Object Filter.Companion

    • Constructor Detail

    • Method Detail

      • resolveEscapes

         final String resolveEscapes(String input)

        Resolves escape sequences in a given string.

        Parameters:
        input - the string to resolve escape sequences in
        Returns:

        the string with resolved escape sequences

      • of

         final Filter of(String input, Boolean trace)

        Parses the input string using a lexer and parser, constructs a condition tree using a visitor, and returns a Filter object.

        Parameters:
        input - The input string to parse and construct the filter from.
        trace - If true, enables tracing in the parser.
        Returns:

        The constructed Filter object.