ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.code.GlobalVariable");

(.lara)
import clava.code.GlobalVariable;

GlobalVariable

Constructor

GlobalVariable

new GlobalVariable(varName, $type, initValue)

Adds and manages global variables.

Parameters

varName: any
$type: any
initValue: any

Instance Members

getRef

getRef($reference)

Parameters

$reference: any

Returns

$varref - A reference to the global variable defined by this object.