
doc_modes.pl -- Analyse PlDoc mode declarationsThis module analyzes the formal part of the documentation of a predicate. The formal part is processed by read_term/3 using the operator declarations in this module.
process_modes(+Lines:lines, +Module, +FilePos, -Modes:list, -Args:list(atom), -RestLines:lines) is det
compile_mode(+Mode, -Compiled) is detmode(Head,
Determinism).
mode(:Head, ?Det) is nondet
is_mode(@Head) is semidet
mode_indicator(?Ind:atom) is nondet
modes_to_predicate_indicators(+Modes:list, -PI:list) is det
compile_clause(:Term, +FilePos) is det