Z3
z3
cast_ast< expr >
Public Member Functions
cast_ast< expr > Class Template Reference
C++ API
Public Member Functions
expr
operator()
(
context
&c, Z3_ast a)
Detailed Description
template<>
class z3::cast_ast< expr >
Definition at line
987
of file
z3++.h
.
Member Function Documentation
expr
operator()
(
context
&
c
,
Z3_ast
a
)
inline
Definition at line
989
of file
z3++.h
.
989
{
990
assert(
Z3_get_ast_kind
(c, a) ==
Z3_NUMERAL_AST
||
991
Z3_get_ast_kind
(c, a) ==
Z3_APP_AST
||
992
Z3_get_ast_kind
(c, a) ==
Z3_QUANTIFIER_AST
||
993
Z3_get_ast_kind
(c, a) ==
Z3_VAR_AST
);
994
return
expr(c, a);
995
}
Z3_get_ast_kind
Z3_ast_kind Z3_API Z3_get_ast_kind(__in Z3_context c, __in Z3_ast a)
Return the kind of the given AST.
Z3_QUANTIFIER_AST
Definition:
z3_api.h:219
Z3_APP_AST
Definition:
z3_api.h:217
Z3_VAR_AST
Definition:
z3_api.h:218
Z3_NUMERAL_AST
Definition:
z3_api.h:216
Generated on Thu Jun 25 2015 08:01:35 for Z3 by
1.8.9.1