ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.graphs.cfg.nodedata.ScopeNodeData");

(.lara)
import clava.graphs.cfg.nodedata.ScopeNodeData;

ScopeNodeData

Constructor

ScopeNodeData

new ScopeNodeData()

Instance Members

constructor

constructor($scope, nodeType, id)

Parameters

$scope: unknown
nodeType: unknown
id: unknown

scope

scope()

for(const $stmt of $scope.stmts) {
if(!CfgUtils.isLeader($stmt)) {
this.addStmt($stmt);
} else {
break;
}
}