summaryrefslogtreecommitdiff
path: root/src/theory/evaluator.h
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-11-29 15:44:51 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2020-11-29 15:44:51 -0800
commit8f0b61ca58b4402f00d056ee50338808fdcf8385 (patch)
tree6f0ba5c55609fdd2c8895d22b99d4009ac8f339e /src/theory/evaluator.h
parent8a279c8f16170d22e8e64e9eadbec184a1ce2f11 (diff)
parent36af095242f2445fa5d3c2c1f3882159119d152a (diff)
Merge branch 'master' into fixClangWarnings
Diffstat (limited to 'src/theory/evaluator.h')
-rw-r--r--src/theory/evaluator.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/theory/evaluator.h b/src/theory/evaluator.h
index e986edf1f..f1b0083b3 100644
--- a/src/theory/evaluator.h
+++ b/src/theory/evaluator.h
@@ -2,10 +2,10 @@
/*! \file evaluator.h
** \verbatim
** Top contributors (to current version):
- ** Andres Noetzli, Andrew Reynolds, Mathias Preiner
+ ** Andrew Reynolds, Andres Noetzli, Mathias Preiner
** This file is part of the CVC4 project.
** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
- ** in the top-level source directory) and their institutional affiliations.
+ ** in the top-level source directory and their institutional affiliations.
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
**
@@ -25,6 +25,7 @@
#include "base/output.h"
#include "expr/node.h"
+#include "expr/uninterpreted_constant.h"
#include "util/bitvector.h"
#include "util/rational.h"
#include "util/string.h"
@@ -45,6 +46,7 @@ struct EvalResult
BITVECTOR,
RATIONAL,
STRING,
+ UCONST,
INVALID
} d_tag;
@@ -55,6 +57,7 @@ struct EvalResult
BitVector d_bv;
Rational d_rat;
String d_str;
+ UninterpretedConstant d_uc;
};
EvalResult(const EvalResult& other);
@@ -63,6 +66,7 @@ struct EvalResult
EvalResult(const BitVector& bv) : d_tag(BITVECTOR), d_bv(bv) {}
EvalResult(const Rational& i) : d_tag(RATIONAL), d_rat(i) {}
EvalResult(const String& str) : d_tag(STRING), d_str(str) {}
+ EvalResult(const UninterpretedConstant& u) : d_tag(UCONST), d_uc(u) {}
EvalResult& operator=(const EvalResult& other);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback