case BOOLEAN_TYPE:
out << "BOOLEAN";
break;
+ case STRING_TYPE:
+ out << "STRING";
+ break;
default:
out << tc;
break;
out << n.getConst<Datatype>().getName();
break;
- case kind::EMPTYSET: {
+ case kind::EMPTYSET:
out << "{} :: " << n.getConst<EmptySet>().getType();
- return;
break;
- }
default:
- // fall back on whatever operator<< does on underlying type; we
- // might luck out and print something reasonable
+ // Fall back to whatever operator<< does on underlying type; we
+ // might luck out and print something reasonable.
kind::metakind::NodeValueConstPrinter::toStream(out, n);
}