Struct Diagnostic#
Defined in File slint_interpreter_generated_public.h
Struct Documentation#
-
struct Diagnostic#
Diagnostic describes the aspects of either a warning or an error, along with its location and a description. Diagnostics are typically returned by slint::interpreter::ComponentCompiler::diagnostics() in a vector.
Public Members
-
SharedString message#
The message describing the warning or error.
-
SharedString source_file#
The path to the source file where the warning or error is located.
-
uintptr_t line#
The line within the source file. Line numbers start at 1.
-
uintptr_t column#
The column within the source file. Column numbers start at 1.
-
DiagnosticLevel level#
The level of the diagnostic, such as a warning or an error.
-
SharedString message#