public static VerboseFilter compile(String expression) throws InvalidFilterException {
        if (expression.isEmpty()) {
            return acceptAll();
        }

        try {
            return new VerboseFilter(expression, BooleanExpressionCompiler.compile(expression));
        } catch (LexerException | ParserException e) {
            throw new InvalidFilterException("Exception occurred whilst generating an expression for '" + expression + "'", e);
        }
    }
Represents a verbose filter expression.

<p>The expression is compiled when the instance is initialised - subsequent
evaluations should be relatively fast.</p>
common/src/main/java/me/lucko/luckperms/common/verbose/VerboseFilter.java