Function clingo_sys::clingo_ast_attribute_type
source · pub unsafe extern "C" fn clingo_ast_attribute_type(
ast: *mut clingo_ast_t,
attribute: clingo_ast_attribute_t,
type_: *mut clingo_ast_attribute_type_t
) -> bool
Expand description
! Get the type of the given AST. ! ! @param[in] ast the target AST ! @param[in] attribute the target attribute ! @param[out] type the resulting type ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_runtime