object
head_arguments_mutation(Entity,Predicate,ClauseIndex,Occurrence,PrintMutation)
Entity- Identifier of the entity being mutated.Predicate- Predicate or non-terminal indicator selecting clauses to mutate.ClauseIndex- 1-based clause index for the selected mutation (equal toOccurrencefor this mutator).Occurrence- 1-based mutation occurrence index selecting one compile-time bound head argument to mutate.PrintMutation- Boolean flag to print the original and mutated term plus source location.
Hook object implementing the head_arguments_mutation mutator by mutating one compile-time bound predicate/non-terminal head argument using the type::mutation/3 predicate.
logtalk_load(mutation_testing(loader))static, context_switching_callsPublic predicates
(no local declarations; see entity ancestors if any)
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)