ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.graphs.StaticCallGraph");

(.lara)
import clava.graphs.StaticCallGraph;

StaticCallGraph

Constructor

StaticCallGraph

new StaticCallGraph()

Static Members

build

build($jp, [visitCalls = true])

Parameters

$jp: $jp
visitCalls: boolean - If true, recursively visits the functions of each call, building a call graph of the available code (optional)

Returns

any

dotFormatter

dotFormatter()

Instance Members

constructor

constructor(graph, functions)

Parameters

graph: unknown
functions: unknown

functions

functions()

getNode

getNode($function)

Parameters

$function: unknown

graph

graph()

toDot

toDot()