clause(Head, Body)
Enumerates, by backtracking, the clauses of an object's dynamic predicates.
clause(+callable, ?body)
instantiation_error
type_error(callable, Head)
type_error(callable, Body)
permission_error(access, private_predicate, Head)
permission_error(access, protected_predicate, Head)
permission_error(access, static_predicate, Head)
existence_error(predicate_declaration, Head)
- To retrieve a matching clause of any dynamic predicate in this:
clause(Head, Body)
- To retrieve a matching clause of a public or protected dynamic predicate in self:
::clause(Head, Body)
- To retrieve a matching clause of a public dynamic predicate in an object:
Object::clause(Head, Body)