Internal
_javaStatic
Readonly
Internal
_defaultString 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 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
The condition of this switch statement
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 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 there is a default case in this switch statement, false otherwise
True if this node has a parent
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 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
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
Returns the number of children of the node, ignoring null nodes
True if the given node is a descendant of this node
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
String 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'