slint-ui
    Preparing search index...

    Interface Diagnostic

    This structure represent a diagnostic emitted while compiling .slint code.

    It is basically a message, a level (warning or error), attached to a position in the code.

    interface Diagnostic {
        columnNumber: number;
        fileName?: string;
        level: DiagnosticLevel;
        lineNumber: number;
        message: string;
    }
    Index

    Properties

    columnNumber: number
    fileName?: string

    The path of the source file where this diagnostic occurred.

    The level for this diagnostic.

    lineNumber: number

    The line number in the .slint source file. The line number starts with 1.

    message: string

    Message for this diagnostic.