return Type(d_nodeManager, new TypeNode(d_nodeManager->kindType()));
}
+RealType ExprManager::realType() const {
+ NodeManagerScope nms(d_nodeManager);
+ return Type(d_nodeManager, new TypeNode(d_nodeManager->realType()));
+}
+
+IntegerType ExprManager::integerType() const {
+ NodeManagerScope nms(d_nodeManager);
+ return Type(d_nodeManager, new TypeNode(d_nodeManager->integerType()));
+}
+
Expr ExprManager::mkExpr(Kind kind) {
const unsigned n = 0;
CheckArgument(n >= minArity(kind) && n <= maxArity(kind), kind,
/** Get the type for sorts. */
KindType kindType() const;
+ /** Get the type for reals. */
+ RealType realType() const;
+
+ /** Get the type for integers */
+ IntegerType integerType() const;
+
/**
* Make a unary expression of a given kind (TRUE, FALSE,...).
* @param kind the kind of expression