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[];
    controlDependencies: undefined | ControlDependency[];
    environment: undefined | REnvironmentInformation;
    id: NodeId;
    indicesCollection?: ContainerIndicesCollection;
    name: string;
    onlyBuiltin: boolean;
    tag: FunctionCall;
}

Hierarchy (view full)

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.

controlDependencies: 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

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

Used to identify and separate different types of vertices.