category

tool_diagnostics_common

Default definitions for diagnostics targets, rule enumeration, and summary/breakdown helpers.

Availability:
logtalk_load(tool_diagnostics(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-04-01
Compilation flags:
static
Implements:
Uses:
Remarks:
(none)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

context_summaries/2

Returns a list of context summary terms for a list of diagnostics.

Compilation flags:
static
Template:
context_summaries(Diagnostics,ContextSummaries)
Mode and number of proofs:
context_summaries(+list(compound),-list(compound)) - one

diagnostics_breakdown/2

Returns a breakdown term with rule, severity, and confidence counts for a list of diagnostics.

Compilation flags:
static
Template:
diagnostics_breakdown(Diagnostics,Breakdown)
Mode and number of proofs:
diagnostics_breakdown(+list(compound),-compound) - one

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)