StaticaddStaticaddThe file to add to the AST.
StaticclearClears all ASTs except for the one at the top of the stack. If there is one of none AST on the stack does nothing.
StaticfindLooks for a join point in the current AST.
A join point from any AST
The equivalent join point from the AST at the top of the current AST stack
StaticgetStaticgetThe folder of the first input source element, either itself, if a folder, or the parent folder, if it is a file.
StaticgetDataStore with the data of the current weaver
StaticgetA set with paths to the include folders of the current configuration.
StaticgetThe join point $program.
StaticgetThe current number of elements in the AST stack.
StaticgetReturns the standard being used for compilation.
StaticgetThe folder where the code represented by the AST will be written at the end of execution.
StaticisStaticpopDiscards the AST at the top of the current AST stack.
StaticpushCreates a clone of the current AST and pushes the clone to the top of the current AST stack. If a $program join point is passed, that join point is added to the top of the stack instead.
Optional$program: Programprogram to push to the AST.
StaticrebuildStaticrebuildStaticrunLaunches a Clava weaving session.
The arguments to pass to the weaver, as if it was launched from the command-line
True if the weaver execution without problems, false otherwise
StaticrunLaunches several Clava weaving sessions in parallel.
An array where each element is an array with the arguments to pass to the weaver, as if it was launched from the command-line
Number of threads to use
The command we should use to call Clava (e.g., /usr/local/bin/clava)
The results of each execution
StaticwriteWrites the code of the current AST to the given folder.
Path to an existing source file that will be added to the AST. If the file does not exists, throws an exception.