DeclarationTraversal

io.shiftleft.semanticcpg.language.types.expressions.generalizations.DeclarationTraversal
final class DeclarationTraversal[NodeType <: Declaration](val traversal: Iterator[NodeType]) extends AnyVal

A declaration, such as a local or parameter.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def capturedByMethodRef: Iterator[MethodRef]

Methods that capture this declaration

Methods that capture this declaration

Attributes

def capturedByTypeRef: Iterator[TypeRef]

Types that capture this declaration

Types that capture this declaration

Attributes

def closureBinding: Iterator[ClosureBinding]

The closure binding node referenced by this declaration

The closure binding node referenced by this declaration

Attributes

def method: Iterator[Method]

The parent method.

The parent method.

Attributes

Concrete fields

val traversal: Iterator[NodeType]