ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("antarex.utils.sysfile");

(.lara)
import antarex.utils.sysfile;

Global Functions

addModifiedFiles

addModifiedFiles($target)

Add a file ($target) to the modified ones.

Parameters

$target: any

getModifiedFiles

getModifiedFiles()

Returns

any - the files added to the modified ones since the last resetModifiedFiles() call.

getOSLibName

getOSLibName(libname)

Parameters

libname: any

Returns

any - the name of the file of a library built from libname. os DEPENDENT: -for linux: lib<libname>.so

mkNewFile

mkNewFile($name, $fp)

Declare a new file in Clava, $fp/$name ($fp : file path, $name: the name of the file).

Parameters

$name: any
$fp: any

rebuildFiles

rebuildFiles(varray)

Rebuilt the AST of the files of an array (varray).

Parameters

varray: any

rebuildModifiedFiles

rebuildModifiedFiles()

Rebuilt the modified files (elements of the global array _INRIA_MODFIED_FILES_.


resetModifiedFiles

resetModifiedFiles()

Reset the set of the modified files.