current_predicate/1
current_predicate(Predicate)Enumerates, by backtracking, the visible user predicates for an object.
current_predicate(?predicate_indicator)
- Predicate is neither a variable nor a valid predicate indicator:
type_error(predicate_indicator, Predicate)
- To enumerate, by backtracking, the user predicates visible in this:
current_predicate(Predicate)
- To enumerate, by backtracking, the public and protected user predicates visible in self:
::current_predicate(Predicate)
- To enumerate, by backtracking, the public user predicates visible for an object:
Object::current_predicate(Predicate)