diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-04-12 16:47:12 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-04-12 16:47:12 -0500 |
commit | 75db964b0c56f1a3b04b77c33d226c4d9cd0ca54 (patch) | |
tree | c30f7f17ae963e3f51cef111b2d549eacff1a852 /src/expr/node.h | |
parent | e6e02c32c58f9e5edde2dd85fc7b19ef001eea03 (diff) |
Add nullary operator metakind.
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index 31721b2ef..6d98b940b 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -464,12 +464,6 @@ public: assertTNodeNotExpired(); return getMetaKind() == kind::metakind::VARIABLE; } - inline bool isUninterpretedVar() const { - assertTNodeNotExpired(); - return getMetaKind() == kind::metakind::VARIABLE && - getKind() != kind::UNIVERSE_SET && - getKind() != kind::SEP_NIL; - } inline bool isClosure() const { assertTNodeNotExpired(); @@ -1259,6 +1253,9 @@ NodeTemplate<true> NodeTemplate<ref_count>::getOperator() const { case kind::metakind::CONSTANT: IllegalArgument(*this, "getOperator() called on Node with CONSTANT-kinded kind"); + case kind::metakind::NULLARY_OPERATOR: + IllegalArgument(*this, "getOperator() called on Node with NULLARY_OPERATOR-kinded kind"); + default: Unhandled(mk); } |