Function declarations. More...
Data Structures | |
class | Parameter |
Function declarations can have Parameters associated with them. More... | |
Public Member Functions | |
override bool | Equals (object o) |
Object comparison. More... | |
override int | GetHashCode () |
A hash code. More... | |
override string | ToString () |
A string representations of the function declaration. More... | |
new FuncDecl | Translate (Context ctx) |
Translates (copies) the function declaration to the Context ctx . More... | |
Expr | Apply (params Expr[] args) |
Create expression that applies function to arguments. More... | |
Public Member Functions inherited from AST | |
override bool | Equals (object o) |
Object comparison. More... | |
virtual int | CompareTo (object other) |
Object Comparison. More... | |
override int | GetHashCode () |
The AST's hash code. More... | |
AST | Translate (Context ctx) |
Translates (copies) the AST to the Context ctx . More... | |
override string | ToString () |
A string representation of the AST. More... | |
string | SExpr () |
A string representation of the AST in s-expression notation. More... | |
Public Member Functions inherited from Z3Object | |
void | Dispose () |
Disposes of the underlying native Z3 object. More... | |
Static Public Member Functions | |
static bool | operator== (FuncDecl a, FuncDecl b) |
Comparison operator. More... | |
static bool | operator!= (FuncDecl a, FuncDecl b) |
Comparison operator. More... | |
Static Public Member Functions inherited from AST | |
static bool | operator== (AST a, AST b) |
Comparison operator. More... | |
static bool | operator!= (AST a, AST b) |
Comparison operator. More... | |
Properties | |
new uint | Id [get] |
Returns a unique identifier for the function declaration. More... | |
uint | Arity [get] |
The arity of the function declaration More... | |
uint | DomainSize [get] |
The size of the domain of the function declaration
| |
Sort[] | Domain [get] |
The domain of the function declaration More... | |
Sort | Range [get] |
The range of the function declaration More... | |
Z3_decl_kind | DeclKind [get] |
The kind of the function declaration. More... | |
Symbol | Name [get] |
The name of the function declaration More... | |
uint | NumParameters [get] |
The number of parameters of the function declaration More... | |
Parameter[] | Parameters [get] |
The parameters of the function declaration More... | |
Expr this[params Expr[] | args [get] |
Create expression that applies function to arguments. More... | |
Properties inherited from AST | |
uint | Id [get] |
A unique identifier for the AST (unique among all ASTs). More... | |
Z3_ast_kind | ASTKind [get] |
The kind of the AST. More... | |
bool | IsExpr [get] |
Indicates whether the AST is an Expr More... | |
bool | IsApp [get] |
Indicates whether the AST is an application More... | |
bool | IsVar [get] |
Indicates whether the AST is a BoundVariable More... | |
bool | IsQuantifier [get] |
Indicates whether the AST is a Quantifier More... | |
bool | IsSort [get] |
Indicates whether the AST is a Sort More... | |
bool | IsFuncDecl [get] |
Indicates whether the AST is a FunctionDeclaration More... | |
Properties inherited from Z3Object | |
Context | Context [get] |
Access Context object More... | |
Function declarations.
Definition at line 30 of file FuncDecl.cs.
Create expression that applies function to arguments.
args |
Definition at line 355 of file FuncDecl.cs.
|
inline |
Object comparison.
Definition at line 57 of file FuncDecl.cs.
|
inline |
Comparison operator.
Definition at line 49 of file FuncDecl.cs.
Comparison operator.
Definition at line 36 of file FuncDecl.cs.
|
inline |
A string representations of the function declaration.
Definition at line 75 of file FuncDecl.cs.
Translates (copies) the function declaration to the Context ctx .
ctx | A context |
Definition at line 329 of file FuncDecl.cs.
Referenced by FuncDecl.Translate().
Create expression that applies function to arguments.
args |
Definition at line 340 of file FuncDecl.cs.
Referenced by FuncDecl.Apply().
|
get |
The arity of the function declaration
Definition at line 91 of file FuncDecl.cs.
Referenced by Model.ConstInterp(), and Model.FuncInterp().
|
get |
|
get |
The domain of the function declaration
Definition at line 108 of file FuncDecl.cs.
|
get |
The size of the domain of the function declaration
Definition at line 100 of file FuncDecl.cs.
|
get |
Returns a unique identifier for the function declaration.
Definition at line 83 of file FuncDecl.cs.
|
get |
The name of the function declaration
Definition at line 144 of file FuncDecl.cs.
|
get |
The number of parameters of the function declaration
Definition at line 155 of file FuncDecl.cs.
|
get |
The parameters of the function declaration
Definition at line 163 of file FuncDecl.cs.
|
get |
The range of the function declaration
Definition at line 125 of file FuncDecl.cs.