MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / isConst

Method isConst

smt/expr.cpp:377–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377bool expr::isConst() const {
378 C();
379 return Z3_is_numeral_ast(ctx(), ast()) ||
380 Z3_get_bool_value(ctx(), ast()) != Z3_L_UNDEF;
381}
382
383bool expr::isVar() const {
384 C();

Callers 15

print_single_varvalFunction · 0.45
errorFunction · 0.45
check_refinementFunction · 0.45
verifyMethod · 0.45
simplify_constFunction · 0.45
is_power2Function · 0.45
binop_commutativeMethod · 0.45
operator+Method · 0.45
operator*Method · 0.45
add_no_soverflowMethod · 0.45
add_no_uoverflowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected