@eagleoutice/flowr - v2.17.4
    Preparing search index...

    Interface BuiltInIdentifierConstant<T>

    An identifier reference points to a variable like a in b <- a.

    interface BuiltInIdentifierConstant<T = unknown> {
        cds?: readonly ControlDependency[];
        definedAt: `built-in:${string}`;
        global?: boolean;
        name: Identifier | undefined;
        nodeId: NodeId;
        type: BuiltInConstant;
        value: T;
    }

    Type Parameters

    • T = unknown

    Hierarchy (View Summary)

    Index
    cds?: readonly ControlDependency[]

    If the reference is only effective, if, for example, an if-then-else condition is true, this references the root of the if.

    definedAt: `built-in:${string}`
    global?: boolean

    Whether the read is evaluated in the global environment (source() within a function), so no frame below it can bind it

    name: Identifier | undefined

    Name the reference is identified by (e.g., the name of the variable), undefined if the reference is "artificial" (e.g., anonymous)

    nodeId: NodeId

    The id of the node which represents the reference in the NormalizedAst|normalized AST and the DataflowGraph|dataflow graph.

    Type of the reference to be resolved

    value: T