Coda by Ian Macalinao
    Preparing search index...

    Interface InstructionDisplayNode

    Display metadata for an instruction: a short intent label and an interpolated sentence template. Either form may be absent; presentation strategy is left to the renderer.

    interface InstructionDisplayNode {
        intent?: string;
        interpolatedIntent?: string;
        kind: "instructionDisplayNode";
    }
    Index
    intent?: string

    A short imperative label describing what the instruction does (e.g. "Transfer").

    interpolatedIntent?: string

    A sentence template that composes the instruction into prose with ${root.path} placeholders. Roots are data. (an instruction argument) and accounts. (an instruction account); the path is flat after the root (e.g. ${data.amount}, ${accounts.destination}). A placeholder renders through its referent's own presentation; the skip rule governs the fallback list only and never the sentence.

    kind: "instructionDisplayNode"