(.js)
laraImport("clava.code.Outliner");
(.lara)
import clava.code.Outliner;
new Outliner()
checkOutline(begin, end)
Verifies if a code region can undergo function outlining.
This check is performed automatically by the outliner itself, but it can be invoked manually if desired.
constructor()
outline(begin, end)
Applies function outlining to a code region delimited by two statements.
Function outlining is the process of removing a section of code from a function and placing it in a new function.
The beginning and end of the code region must be at the same scope level.
outlineWithName(begin, end, functionName)
Applies function outlining to a code region delimited by two statements.
Function outlining is the process of removing a section of code from a function and placing it in a new function.
The beginning and end of the code region must be at the same scope level.
setDefaultPrefix(prefix)
Sets the prefix used for the autogenerated names of the outlined functions
setVerbosity(verbose)
Sets the verbosity of the outliner, with false being the equivalent of a silent mode (true is the default)