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

isUseVertex - to check if a vertex is a use vertex

interface DataflowGraphVertexUse {
    controlDependencies: undefined | ControlDependency[];
    environment?: undefined;
    id: NodeId;
    indicesCollection?: ContainerIndicesCollection;
    tag: Use;
}

Hierarchy (view full)

Hierarchy-Diagram

UML class diagram of DataflowGraphVertexUse

Properties

controlDependencies: undefined | ControlDependency[]

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

environment?: undefined

Does not require an environment to be attached. If we promote the use to a function call, we attach the environment later.

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.

indicesCollection?: ContainerIndicesCollection

this attribute links a vertex to indices (pointer links) it may be affected by or related to

tag: Use

Used to identify and separate different types of vertices.