Z3
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions
cast_ast< expr > Class Template Reference

Public Member Functions

expr operator() (context &c, Z3_ast a)
 

Detailed Description

template<>
class z3::cast_ast< expr >

Definition at line 1829 of file z3++.h.

Member Function Documentation

expr operator() ( context c,
Z3_ast  a 
)
inline

Definition at line 1831 of file z3++.h.

1831  {
1832  assert(Z3_get_ast_kind(c, a) == Z3_NUMERAL_AST ||
1833  Z3_get_ast_kind(c, a) == Z3_APP_AST ||
1835  Z3_get_ast_kind(c, a) == Z3_VAR_AST);
1836  return expr(c, a);
1837  }
Z3_ast_kind Z3_API Z3_get_ast_kind(Z3_context c, Z3_ast a)
Return the kind of the given AST.