diff options
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r-- | src/smt/smt_engine.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h index 735364db8..48ae24898 100644 --- a/src/smt/smt_engine.h +++ b/src/smt/smt_engine.h @@ -251,6 +251,7 @@ class CVC4_PUBLIC SmtEngine { * Verbosity of various commands. */ std::map<std::string, Integer> d_commandVerbosity; + /** ReplayStream for the solver. */ ExprStream* d_replayStream; @@ -743,6 +744,19 @@ public: * translation. */ void setReplayStream(ExprStream* exprStream); + + /** get expression name + * Returns true if e has an expression name in the current context. + * If it returns true, the name of e is stored in name. + */ + bool getExpressionName(Expr e, std::string& name) const; + + /** set expression name + * Sets the expression name of e to name. + * This information is user-context-dependent. + * If e already has a name, it is overwritten. + */ + void setExpressionName(Expr e, const std::string& name); };/* class SmtEngine */ |