ANTAREX API

Clava API

LARA API

LARA Common Language API

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

(.lara)
import clava.graphs.ControlFlowGraph;

ControlFlowGraph

Constructor

ControlFlowGraph

new ControlFlowGraph()

Static Members

build

build($jp, deterministicIds)

Parameters

$jp: unknown
deterministicIds: unknown

Instance Members

constructor

constructor(graph, nodes, startNode, endNode)

The end node of the CFG

Parameters

graph: unknown
nodes: unknown
startNode: unknown
endNode: unknown

endNode

endNode()

getNode

getNode($stmt)

Returns the graph node where the given statement belongs.

Parameters

$stmt: $stmt|string - A statement join point, or a string with the astId of the join point

graph

graph()

startNode

startNode()