get_index_value method

int get_index_value(
  1. Z3_context c,
  2. Z3_ast a
)

\brief Return index of de-Bruijn bound variable.

\pre Z3_get_ast_kind(a) == Z3_VAR_AST

def_API('Z3_get_index_value', UINT, (_in(CONTEXT), _in(AST)))

Implementation

int get_index_value(
  Z3_context c,
  Z3_ast a,
) {
  return _get_index_value(
    c,
    a,
  );
}