public class FuncDecl<R extends Sort> extends AST
| Modifier and Type | Class and Description |
|---|---|
static class |
FuncDecl.Parameter
Function declarations can have Parameters associated with them.
|
| Modifier and Type | Method and Description |
|---|---|
Expr<R> |
apply(Expr<?>... args)
Create expression that applies function to arguments.
|
boolean |
equals(Object o)
Object comparison.
|
int |
getArity()
The arity of the function declaration
|
Z3_decl_kind |
getDeclKind()
The kind of the function declaration.
|
Sort[] |
getDomain()
The domain of the function declaration
|
int |
getDomainSize()
The size of the domain of the function declaration
|
int |
getId()
Returns a unique identifier for the function declaration.
|
Symbol |
getName()
The name of the function declaration
|
int |
getNumParameters()
The number of parameters of the function declaration
|
FuncDecl.Parameter[] |
getParameters()
The parameters of the function declaration
|
R |
getRange()
The range of the function declaration
|
String |
toString()
A string representation of the AST.
|
FuncDecl<R> |
translate(Context ctx)
Translates (copies) the function declaration to the Context
ctx. |
compareTo, getASTKind, getSExpr, hashCode, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVararrayLength, arrayToNativepublic boolean equals(Object o)
public String toString()
ASTpublic int getId()
public FuncDecl<R> translate(Context ctx)
ctx.translate in class ASTctx - A contextctxZ3Exception - on errorpublic int getArity()
public int getDomainSize()
getArity()public Sort[] getDomain()
public R getRange()
public Z3_decl_kind getDeclKind()
public Symbol getName()
public int getNumParameters()
public FuncDecl.Parameter[] getParameters()