diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-08-17 20:15:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-17 20:15:07 -0500 |
commit | 6f7c6f000e804a9b92166ce21206a006e3e92f06 (patch) | |
tree | 47955bc9a8a3116c1c8d8b47b14717e469beb4bb /src/parser/parser.h | |
parent | 246a0bc47aa23f3d4225a78e0600094d0e6ac639 (diff) |
Cleaning make bound var in smt2 parser (#3192)
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r-- | src/parser/parser.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h index 9319181db..a1ee24bb6 100644 --- a/src/parser/parser.h +++ b/src/parser/parser.h @@ -482,8 +482,18 @@ public: uint32_t flags = ExprManager::VAR_FLAG_NONE, bool doOverload = false); - /** Create a new CVC4 bound variable expression of the given type. */ + /** + * Create a new CVC4 bound variable expression of the given type. This binds + * the symbol name to that variable in the current scope. + */ Expr mkBoundVar(const std::string& name, const Type& type); + /** + * Create a new CVC4 bound variable expressions of the given names and types. + * Like the method above, this binds these names to those variables in the + * current scope. + */ + std::vector<Expr> mkBoundVars( + std::vector<std::pair<std::string, Type> >& sortedVarNames); /** * Create a set of new CVC4 bound variable expressions of the given type. |