summaryrefslogtreecommitdiff
path: root/src/expr/metakind_template.h
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2021-03-10 13:28:58 -0800
committerGitHub <noreply@github.com>2021-03-10 21:28:58 +0000
commitc81140e9ab5db8bc95eb15145641be9d909d0618 (patch)
tree991c424872f4b23a06b81dab9db7b8bf8aa30a7b /src/expr/metakind_template.h
parentbd52deb7434b1b08a122db4513972644c11fc4aa (diff)
Move ExprManager::isNAryKind to NodeManager. (#6107)
This also renames metakind::getLowerBoundForKind and metakind::getUpperBoundForKind for consistency. Note that the NodeManager class needs to be reordered to comply to our style guidelines. This PR does not reorder but introduces a public block at the top (where the rest of the public interface of the class should go eventually).
Diffstat (limited to 'src/expr/metakind_template.h')
-rw-r--r--src/expr/metakind_template.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/expr/metakind_template.h b/src/expr/metakind_template.h
index 4e47d4230..42b7da248 100644
--- a/src/expr/metakind_template.h
+++ b/src/expr/metakind_template.h
@@ -187,8 +187,10 @@ struct NodeValueConstPrinter {
*/
void deleteNodeValueConstant(::CVC4::expr::NodeValue* nv);
-unsigned getLowerBoundForKind(::CVC4::Kind k);
-unsigned getUpperBoundForKind(::CVC4::Kind k);
+/** Return the minimum arity of the given kind. */
+uint32_t getMinArityForKind(::CVC4::Kind k);
+/** Return the maximum arity of the given kind. */
+uint32_t getMaxArityForKind(::CVC4::Kind k);
}/* CVC4::kind::metakind namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback