Internal
_javaStatic
Readonly
Internal
_defaultString with a dump of the AST representation starting from this node. This representation corresponds to the internal Java representation of the ClavaAst, where the node names correspond to Java classes. To get an equivalent representation with join point names, use the attribute 'dump'
String that uniquely identifies this node
The name of the Java class of this node, which is similar to the equivalent node in Clang AST
Returns the number of children of the node, considering null nodes
The path to the source folder that was given as the base folder of this file
The bit width of the type returned by this join point, in relation to the definitions of its Translation Unit, or undefined if there is no type or bitwidth defined, or if the join point is not in a TranslationUnit
String list of the names of the join points that form a path from the root to this node
String with the code represented by this node
The starting column of the current node in the original code
JS object associated with this node, containing parsed data of #pragma clava data when the node can be a target of pragmas. This is a special object, managed internally, and cannot be reassigned, to change its contents requires using key-value pairs. If the node can be the target of a pragma, the information stored in this object is persisted between rebuilds.
JS object associated with this node, containing parsed data of #pragma clava data when the node can be a target of pragmas. This is a special object, managed internally, and cannot be reassigned, to change its contents requires using key-value pairs. If the node can be the target of a pragma, the information stored in this object is persisted between rebuilds.
The depth of this join point in the AST. If it is the root join point returns 0, if it is a child of the root node returns 1, etc.
The ending column of the current node in the original code
The ending line of the current node in the original code
The output of the parser if there were errors during parsing
A Java file to the file that originated this translation unit
The name of the file where the code of this node is located, if available
The complete path to the file where the code of this node comes from
True if the node has children, false otherwise
True if this file contains a 'main' method
True if this node has a parent
True if there were errors during parsing
True, if the join point has a type
True if this is a Cilk node (i.e., cilk_spawn, cilk_sync or cilk_for)
True if this file is considered a C++ file
True if this file is considered a header file
True, if the join point is inside a header (e.g., if condition, for, while)
True, if the join point is inside a loop header (e.g., for, while)
True, if the join point is part of a system header file
True if any descendant or the node itself was defined as a macro
True if this file is an OpenCL filetype
The names of the Java fields of this node. Can be used as key of the attribute 'javaValue'
Id that is based on the position of the node in the code, and should remain stable between compilations (warning: only a few nodes - file, function, loop - currently support it)
A list of the properties currently supported by this node. Can be used as parameter of the attribute 'getValue'
The starting line of the current node in the original code
A string with information about the file and code position of this node, if available
The name of the file
The name of the file
Returns the number of children of the node, ignoring null nodes
The folder of the source file
The path to the file relative to the base source path
The path to the folder of the source file relative to the base source path
The path to the folder of the source file relative to the base source path
The name of the source folder of this file, or undefined if it has none
Overload of addInclude which accepts a join point
True if the given node is a descendant of this node
Adds the node in the join point to the start of the file
Adds the String as a Decl to the end of the file
Adds the node in the join point to the end of the file
Adds the String as a Decl to the end of the file
Replaces this node with the given node
Overload which accepts a string
Overload which accepts a list of join points
Sets the type of a node, if it has a type
Represents a source file (.c, .cpp., .cl, etc)