AstNodeTraversal
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Nodes of the AST rooted in this node, including the node itself.
Nodes of the AST rooted in this node, including the node itself.
Attributes
All nodes of the abstract syntax tree rooted in this node, which match predicate
. Equivalent of match
in the original CPG paper.
All nodes of the abstract syntax tree rooted in this node, which match predicate
. Equivalent of match
in the original CPG paper.
Attributes
Direct children of node in the AST. Siblings are ordered by their order
fields
Direct children of node in the AST. Siblings are ordered by their order
fields
Attributes
Nodes of the AST rooted in this node, minus the node itself
Nodes of the AST rooted in this node, minus the node itself
Attributes
Parent AST node
Parent AST node
Attributes
Siblings of this node in the AST, ordered by their order
fields
Siblings of this node in the AST, ordered by their order
fields
Attributes
Nodes of the AST obtained by expanding AST edges backwards until the method root is reached
Nodes of the AST obtained by expanding AST edges backwards until the method root is reached
Attributes
Nodes of the AST obtained by expanding AST edges backwards until root
or the method root is reached
Nodes of the AST obtained by expanding AST edges backwards until root
or the method root is reached
Attributes
Nodes of the AST obtained by expanding AST edges backwards until the method root is reached, minus this node
Nodes of the AST obtained by expanding AST edges backwards until the method root is reached, minus this node
Attributes
Nodes of the AST obtained by expanding AST edges backwards until root
or the method root is reached, minus this node
Nodes of the AST obtained by expanding AST edges backwards until root
or the method root is reached, minus this node
Attributes
Traverse only to those AST nodes that are blocks
Traverse only to those AST nodes that are blocks
Attributes
Traverse only to AST nodes that are calls
Traverse only to AST nodes that are calls
Attributes
Cast to call if applicable and filter on call code calleeRegex
Cast to call if applicable and filter on call code calleeRegex
Attributes
Traverse only to those AST nodes that are also control flow graph nodes
Traverse only to those AST nodes that are also control flow graph nodes
Attributes
Traverse only to those AST nodes that are control structures
Traverse only to those AST nodes that are control structures
Attributes
Traverse only to AST nodes that are expressions
Traverse only to AST nodes that are expressions
Attributes
Traverse only to AST nodes that are field identifier
Traverse only to AST nodes that are field identifier
Attributes
Traverse only to FILE AST nodes
Traverse only to FILE AST nodes
Attributes
Traverse only to AST nodes that are identifier
Traverse only to AST nodes that are identifier
Attributes
Traverse only to AST nodes that are IMPORT nodes
Traverse only to AST nodes that are IMPORT nodes
Attributes
Traverse only to AST nodes that are literals
Traverse only to AST nodes that are literals
Attributes
Traverse only to AST nodes that are MEMBER
Traverse only to AST nodes that are MEMBER
Attributes
Traverse only to AST nodes that are METHOD
Traverse only to AST nodes that are METHOD
Attributes
Traverse only to AST nodes that are method reference
Traverse only to AST nodes that are method reference
Attributes
Traverse only to AST nodes that are MODIFIER
Traverse only to AST nodes that are MODIFIER
Attributes
Traverse only to AST nodes that are NAMESPACE_BLOCK
Traverse only to AST nodes that are NAMESPACE_BLOCK
Attributes
Traverse only to AST nodes that are METHOD_PARAMETER_IN
Traverse only to AST nodes that are METHOD_PARAMETER_IN
Attributes
Traverse only to AST nodes that are return nodes
Traverse only to AST nodes that are return nodes
Attributes
Traverse only to AST nodes that are TemplateDom nodes
Traverse only to AST nodes that are TemplateDom nodes
Attributes
Traverse only to AST nodes that are TYPE_DECL
Traverse only to AST nodes that are TYPE_DECL
Attributes
Traverse only to AST nodes that are type reference
Traverse only to AST nodes that are type reference
Attributes
Traverses up the AST and returns the first block node.
Traverses up the AST and returns the first block node.