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

    Interface DataflowGraphVertexValue

    Marker vertex for a value in the dataflow of the program. For user-code constants (numbers, strings, logicals) the value is recovered by looking up the id in the NormalizedAst|normalized AST:

    const node = graph.idMap.get(value.id)
    

    For built-in constants whose id is not in the AstIdMap (e.g. T resolving to built-in:T), the abstract Value is stored directly in the value field.

    isValueVertex - to check if a vertex is a value vertex

    interface DataflowGraphVertexValue {
        cds: ControlDependency[] | undefined;
        environment?: undefined;
        id: NodeId;
        link?: DataflowGraphVertexAstLink;
        tag: Value;
        value?: Value;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown

    Hierarchy-Diagram

    UML class diagram of DataflowGraphVertexValue
    Index

    Properties

    cds: ControlDependency[] | undefined

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

    environment?: undefined

    The environment in which the vertex is set.

    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

    tag: Value

    Used to identify and separate different types of vertices.

    value?: Value

    Pre-computed abstract value; set for built-in constants (e.g. T, F) whose id is not in the AST id map