MCPcopy Create free account
hub / github.com/Z3Prover/z3 / isExpr

Method isExpr

src/api/java/AST.java:114–126  ·  view source on GitHub ↗

Indicates whether the AST is an Expr @throws Z3Exception on error @throws Z3Exception on error

()

Source from the content-addressed store, hash-verified

112 * @throws Z3Exception on error
113 **/
114 public boolean isExpr()
115 {
116 switch (getASTKind())
117 {
118 case Z3_APP_AST:
119 case Z3_NUMERAL_AST:
120 case Z3_QUANTIFIER_AST:
121 case Z3_VAR_AST:
122 return true;
123 default:
124 return false;
125 }
126 }
127
128 /**
129 * Indicates whether the AST is an application

Callers

nothing calls this directly

Calls 1

getASTKindMethod · 0.95

Tested by

no test coverage detected