ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("antarex.split.extractCodeAspects");

(.lara)
import antarex.split.extractCodeAspects;

Aspects

extractCode

Extract the code annotated with the prama called "EXTRACT".
The selected code becomes the body of a new function/method generated in a new file.
Then the user may play with several compiled versions of this code, or modified algorithm.



extractIsolate_finalize

Finalize the components of the code extraction.



extractIsolate_initialize

Initialize the components of the code extraction.



isolateFunctionsMethods

For a function/method annotated with the pragma
#pragma ISOLATE NB
It produces NB versions of the function/method, copy of the original but with a new name.
The original one becomes the selector of the version to use.