ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.graphs.cfg.NextCfgNode");

(.lara)
import clava.graphs.cfg.NextCfgNode;

NextCfgNode

Constructor

NextCfgNode

new NextCfgNode()

Instance Members

constructor

constructor($entryPoint, nodes, endNode)

The end node of the graph

Parameters

$entryPoint: unknown
nodes: unknown
endNode: unknown

nextExecutedNode

nextExecutedNode($stmt)

Parameters

$stmt: $stmt

Returns

any - the next graph node that executes unconditionally after the given stmt, or end node if no statement is executed

nextExecutedStmt

nextExecutedStmt($stmt)

Parameters

$stmt: unknown

Returns

any - the next stmt that executes unconditionally after the given stmt, of undefined if no statement is executed