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

isFunctionCallVertex - to check if a vertex is a function call vertex

interface DataflowGraphVertexFunctionCall {
    args: FunctionArgument[];
    cds: undefined | ControlDependency[];
    environment: undefined | REnvironmentInformation;
    id: NodeId;
    indicesCollection?: ContainerIndicesCollection;
    link?: DataflowGraphVertexAstLink;
    name: string;
    onlyBuiltin: boolean;
    origin: string[] | "unnamed";
    tag: FunctionCall;
    [key: string]: unknown;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: unknown

Hierarchy-Diagram

UML class diagram of DataflowGraphVertexFunctionCall

Properties

The arguments of the function call, in order (as they are passed to the respective call if executed in R).

cds: undefined | ControlDependency[]

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

environment: undefined | REnvironmentInformation

The environment attached to the call (if such an attachment is necessary, e.g., because it represents the calling closure

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

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

name: string

Effective name of the function call, Please be aware that this name can differ from the lexeme. For example, if the function is a replacement function, in this case, the actually called fn will have the compound name (e.g., [<-).

onlyBuiltin: boolean

a performance flag to indicate that the respective call is only calling a builtin function without any df graph attached

origin: string[] | "unnamed"

More detailed Information on this function call

Used to identify and separate different types of vertices.