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