summaryrefslogtreecommitdiff
path: root/src/parser/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/parser.cpp')
-rw-r--r--src/parser/parser.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp
index 8217e32c6..73e9239b8 100644
--- a/src/parser/parser.cpp
+++ b/src/parser/parser.cpp
@@ -220,6 +220,17 @@ Expr Parser::mkBoundVar(const std::string& name, const Type& type) {
return expr;
}
+std::vector<Expr> Parser::mkBoundVars(
+ std::vector<std::pair<std::string, Type> >& sortedVarNames)
+{
+ std::vector<Expr> vars;
+ for (std::pair<std::string, CVC4::Type>& i : sortedVarNames)
+ {
+ vars.push_back(mkBoundVar(i.first, i.second));
+ }
+ return vars;
+}
+
Expr Parser::mkAnonymousFunction(const std::string& prefix, const Type& type,
uint32_t flags) {
if (d_globalDeclarations) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback