public class AST extends Z3Object implements Comparable<AST>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AST other)
Object Comparison.
|
boolean |
equals(Object o)
Object comparison.
|
Z3_ast_kind |
getASTKind()
The kind of the AST.
|
int |
getId()
A unique identifier for the AST (unique among all ASTs).
|
String |
getSExpr()
A string representation of the AST in s-expression notation.
|
int |
hashCode()
The AST's hash code.
|
boolean |
isApp()
Indicates whether the AST is an application
|
boolean |
isExpr()
Indicates whether the AST is an Expr
|
boolean |
isFuncDecl()
Indicates whether the AST is a FunctionDeclaration
|
boolean |
isQuantifier()
Indicates whether the AST is a Quantifier
|
boolean |
isSort()
Indicates whether the AST is a Sort
|
boolean |
isVar()
Indicates whether the AST is a BoundVariable.
|
String |
toString()
A string representation of the AST.
|
AST |
translate(Context ctx)
Translates (copies) the AST to the Context
ctx. |
arrayLength, arrayToNativepublic boolean equals(Object o)
public int compareTo(AST other)
compareTo in interface Comparable<AST>other - Another ASTother,
positive if after else zero.Z3Exception - on errorpublic int hashCode()
public int getId()
Z3Exception - on errorpublic AST translate(Context ctx)
ctx.ctx - A contextctxZ3Exception - on errorpublic Z3_ast_kind getASTKind()
Z3Exception - on errorpublic boolean isExpr()
Z3Exception - on errorZ3Exception - on errorpublic boolean isApp()
Z3Exception - on errorpublic boolean isVar()
Z3Exception - on errorpublic boolean isQuantifier()
Z3Exception - on errorpublic boolean isSort()
public boolean isFuncDecl()
public String toString()
public String getSExpr()