@tikoci/centrs
    Preparing search index...

    Interface StatementResolution

    The canonical path of one statement in source order (Q4).

    interface StatementResolution {
        candidates?: string[];
        context: string;
        contextCertain: boolean;
        isNav: boolean;
        maybeNav?: true;
        ownership?: { bodyStart: number; parent: number };
        path: string | null;
        span: Span;
        text: string;
        unresolved?: string;
    }
    Index
    candidates?: string[]

    Context extended by each prefix of the leading run, shortest first.

    context: string

    Context in force BEFORE this statement.

    contextCertain: boolean

    Was the menu context in force BEFORE this statement known? False once an earlier unreadable statement destroyed it (Q14 C3b). A context-DEPENDENT statement is then unresolved; a context-INDEPENDENT one still resolves, so a false here does not by itself invalidate path.

    isNav: boolean

    Offline read this statement as menu navigation, not a command.

    maybeNav?: true

    A verb-free bare path that neither shipped table knows (#211, #235): it is a menu navigation or a command, and offline cannot say which. isNav is false, and the statements after it lose context certainty.

    ownership?: { bodyStart: number; parent: number }

    Source ownership from traversal, independent of potentially widened spans.

    Type Declaration

    • bodyStart: number

      Body start as a UTF-16 offset in that parent's original text.

    • parent: number

      Index of the statement whose scope body contains this statement.

    path: string | null

    Fully-qualified canonical path, menu AND verb (/ip/route/add). Where the path stops and POSITIONAL arguments begin is still a Q6 boundary: path is the greedy full-run reading and candidates carries the shorter readings.

    span: Span

    This statement in DOCUMENT analyzed-byte space.

    text: string
    unresolved?: string