This commit adds support for string concatenation, charat, and length
operators in the CVC printer and support for re.nostr, re.allchar, and
insert into a set in the SMT2 printer.
out << "INST_PATTERN_LIST";
break;
+ // string operators
+ case kind::STRING_CONCAT:
+ out << "CONCAT";
+ break;
+ case kind::STRING_CHARAT:
+ out << "CHARAT";
+ break;
+ case kind::STRING_LENGTH:
+ out << "LENGTH";
+ break;
+
default:
Warning() << "Kind printing not implemented for the case of " << n.getKind() << endl;
break;
out << smtKindString(k, d_variant) << " ";
break;
case kind::MEMBER: typeChildren = true;
+ case kind::INSERT:
case kind::SET_TYPE:
case kind::SINGLETON:
case kind::COMPLEMENT: out << smtKindString(k, d_variant) << " "; break;
return v == smt2_6_1_variant ? "str.in-re" : "str.in.re";
case kind::STRING_TO_REGEXP:
return v == smt2_6_1_variant ? "str.to-re" : "str.to.re";
+ case kind::REGEXP_EMPTY: return "re.nostr";
+ case kind::REGEXP_SIGMA: return "re.allchar";
case kind::REGEXP_CONCAT: return "re.++";
case kind::REGEXP_UNION: return "re.union";
case kind::REGEXP_INTER: return "re.inter";