@tikoci/centrs
    Preparing search index...

    Interface VerbSplitCommandReading

    A decided verb: the menu is the context plus the run before the verb.

    kind is fully derived from resolution and carries no independent information: resolution says what the analyzer did, kind says what the statement is. It is kept because it is the ratified envelope's vocabulary (commands/explain/README.md) and the field phase 1 renders, so this module does not invent a third word for the same concept; the mapping is pinned in both directions by a test so the two can never drift apart.

    interface VerbSplitCommandReading {
        argsAt: number | null;
        candidates: string[];
        kind: "command";
        path: string;
        resolution: "resolved";
        verb: string;
        verbAt: number;
        why: string;
    }

    Hierarchy

    • VerbSplitCommon
      • VerbSplitCommandReading
    Index

    Properties

    argsAt: number | null

    Offset in the statement text where this command's ARGUMENTS begin, or null when no such offset exists (#202c).

    It is the end of the VERB's word, so a bare-word argument the leading run swallowed (/interface print detail puts detail in the run) is still inside the argument list rather than lost above it.

    null when no such offset exists: the verb is not the last part of its word (/ip/route/add/x), or the word walk never reached it. A caller that lexed from a guessed offset would attribute bytes to the wrong command, so the offset is withheld rather than approximated.

    candidates: string[]

    Context extended by each run prefix — the path readings.

    kind: "command"
    path: string
    resolution: "resolved"
    verb: string
    verbAt: number

    Index of the verb within the run.

    why: string

    The rule that fired, for provenance.