summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-27 02:13:38 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-27 02:13:38 +0000
commitb122cec27ca27d0b48e786191448e0053be78ed0 (patch)
tree615981d8623e830894f02fc528b173ac7461f934 /src/expr/expr_manager_template.h
parent3da16da97df7cd2efd4b113db3bfef8b9c138ebe (diff)
Tuples and records merge. Resolves bug 270.
Also some fixes to parametric datatypes I found, and fixes for a handful of bugs, including some observed with --check-models --incremental on together. (this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/expr/expr_manager_template.h')
-rw-r--r--src/expr/expr_manager_template.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/expr/expr_manager_template.h b/src/expr/expr_manager_template.h
index 561d99392..b9cae9431 100644
--- a/src/expr/expr_manager_template.h
+++ b/src/expr/expr_manager_template.h
@@ -359,6 +359,11 @@ public:
TupleType mkTupleType(const std::vector<Type>& types);
/**
+ * Make a record type with types from the rec parameter.
+ */
+ RecordType mkRecordType(const Record& rec);
+
+ /**
* Make a symbolic expressiontype with types from
* <code>types[0..types.size()-1]</code>. <code>types</code> may
* have any number of elements.
@@ -464,8 +469,8 @@ public:
throw(TypeCheckingException);
// variables are special, because duplicates are permitted
- Expr mkVar(const std::string& name, Type type);
- Expr mkVar(Type type);
+ Expr mkVar(const std::string& name, Type type, bool isGlobal = false);
+ Expr mkVar(Type type, bool isGlobal = false);
Expr mkBoundVar(const std::string& name, Type type);
Expr mkBoundVar(Type type);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback