SolverSignal

sealed interface SolverSignal

Something a solver emitted while resolving a query, alongside (not instead of) its ResolutionSteps.

Inheritors

Types

Link copied to clipboard
data class Diagnostics(val diagnostics: List<Diagnostic>) : SolverSignal

Static/syntax diagnostics produced alongside the resolution (e.g. re-checking the source).

Link copied to clipboard

The solver's inspectable state changed (e.g. a directive altered flags/knowledge base) and should be re-read by whatever displays it.

Link copied to clipboard
data class Stderr(val text: String) : SolverSignal

A chunk of standard-error text produced by the query.

Link copied to clipboard
data class Stdout(val text: String) : SolverSignal

A chunk of standard-output text produced by the query.

Link copied to clipboard
data class Warning(val warning: WarningPresentation) : SolverSignal

A non-fatal warning raised during resolution.