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

    Interface DataflowGraphVertexVariableDefinition

    Arguments required to construct a vertex which represents the definition of a variable in the DataflowGraph|dataflow graph.

    isVariableDefinitionVertex - to check if a vertex is a variable definition vertex

    interface DataflowGraphVertexVariableDefinition {
        cds: ControlDependency[] | undefined;
        environment?: undefined;
        id: NodeId;
        link?: DataflowGraphVertexAstLink;
        par?: true;
        source?: readonly NodeId[];
        tag: VariableDefinition;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown

    Hierarchy-Diagram

    UML class diagram of DataflowGraphVertexVariableDefinition
    Index

    Properties

    cds: ControlDependency[] | undefined

    ControlDependency - the collection of control dependencies which have an influence on whether the vertex is executed.

    environment?: undefined

    Does not require an environment, those are attached to the call

    id: NodeId

    The id of the node (the id assigned by the ParentInformation decoration). This unanimously identifies the vertex in the DataflowGraph|dataflow graph as well as the corresponding NormalizedAst|normalized AST.

    Describes the collection of AST vertices that contributed to this vertex. For example, this is useful with replacement operators, telling you which assignment operator caused them

    par?: true

    Indicates whether the variable definition is a partial definition (e.g,. in x[a] <- b)

    source?: readonly NodeId[]

    Points to the source ids of the "value" if there is one, this is more of a best-effort flag and not guaranteed to be there

    Used to identify and separate different types of vertices.