@Override
    public void visitMembers(ObjectVisitor visitor) {
        super.visitMembers(visitor);
        visitor.visit("pattern", pattern);
        visitor.visit("expression", expression);
    }
Protocol class for {@code RegexPredicate}.

@author bjorncs
searchlib/src/main/java/com/yahoo/searchlib/expression/RegexPredicateNode.java