| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AST other)
Object Comparison.
|
boolean |
equals(java.lang.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).
|
java.lang.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.
|
java.lang.String |
toString()
A string representation of the AST.
|
AST |
translate(Context ctx)
Translates (copies) the AST to the Context
ctx. |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - another ASTpublic int compareTo(AST other)
compareTo in interface java.lang.Comparable<AST>other - Another ASTother,
positive if after else zero.Z3Exception - on errorpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getSExpr()