return RewriteResponse(REWRITE_DONE, in);
}
-Kind getOperatorKindForSygusBuiltin(Node op)
+Kind DatatypesRewriter::getOperatorKindForSygusBuiltin(Node op)
{
Assert(op.getKind() != BUILTIN);
if (op.getKind() == LAMBDA)
{
return APPLY_UF;
}
- return NodeManager::operatorToKind(op);
+ return UNDEFINED_KIND;
}
Node DatatypesRewriter::mkSygusTerm(const Datatype& dt,
* C( x, y ) and z
*/
static bool checkClash(Node n1, Node n2, std::vector<Node>& rew);
+ /** get operator kind for sygus builtin
+ *
+ * This returns the Kind corresponding to applications of the operator op
+ * when building the builtin version of sygus terms. This is used by the
+ * function mkSygusTerm.
+ */
+ static Kind getOperatorKindForSygusBuiltin(Node op);
/** make sygus term
*
* This function returns a builtin term f( children[0], ..., children[n] )