Member Junction
    Preparing search index...

    Which {% if %} a variant toggles, and between which branches.

    interface BranchToggle {
        FromBranch: number | null;
        IfSpan: Span;
        ToBranch: number | null;
    }
    Index

    Properties

    FromBranch: number | null

    The branch the block takes in the base assignment, or null when the base does not reach it or cannot tell.

    IfSpan: Span

    The {% if %} block.

    ToBranch: number | null

    The branch this variant makes it take, or null when none could be reached. Branch indexes count the if, then each elif; the branch count itself means the else (or, with no else, that the block renders nothing).