js-yaml - v5.4.1
    Preparing search index...

    Interface ScalarLayout

    Scalar presentation state passed to styling rules.

    interface ScalarLayout {
        node: Readonly<ScalarNode>;
        parent: Readonly<Node> | null;
        level: number;
        isKey: boolean;
        flowOnly: boolean;
        shiftOfParent: number;
        shiftOfContent: number;
        shiftOfFirstLine: number;
        presenterOptions: Readonly<Required<PresenterOptions>>;
        allowedStylesMask: number;
        style: ScalarStyle;
    }
    Index

    Bit mask of allowed styles; each bit corresponds to a SCALAR_STYLE value.

    Selected output style, which styling rules may modify. To avoid overriding earlier decisions, a rule should normally modify it only while it is SCALAR_STYLE.PLAIN.