@eagleoutice/flowr - v2.15.8
    Preparing search index...

    Variable LintQuickFix

    LintQuickFix: {
        inserted(this: void, fix: LintQuickFix): string;
        isPlaced(this: void, fix: LintQuickFix): boolean;
        name: "LintQuickFix";
    }

    Helper for working with quick fixes.

    Type Declaration

    • inserted: function
      • The text that takes the place of the span the fix covers, which is what carrying it out amounts to. Every kind of fix is named here, so a new one cannot quietly inherit the behaviour of another.

        Parameters

        Returns string

    • isPlaced: function
      • Whether the fix names a span that can be changed at all. A rule that cannot locate its finding falls back to SourceLocation.invalid, and carrying that out would cut somewhere else entirely. An insertion is a span of no width, written with its end one column before its start, so only the lines have to be real.

        Parameters

        Returns boolean

    • Readonlyname: "LintQuickFix"