to_app method

Z3_app to_app(
  1. Z3_context c,
  2. Z3_ast a
)

\brief Convert an \c ast into an \c APP_AST. This is just type casting.

\pre \code Z3_get_ast_kind(c, a) == \c Z3_APP_AST \endcode

def_API('Z3_to_app', APP, (_in(CONTEXT), _in(AST)))

Implementation

Z3_app to_app(
  Z3_context c,
  Z3_ast a,
) {
  return _to_app(
    c,
    a,
  );
}