TypeTraversal

io.shiftleft.semanticcpg.language.types.structure.TypeTraversal
final class TypeTraversal(val traversal: Iterator[Type]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def aliasType: Iterator[Type]

Direct alias types.

Direct alias types.

Attributes

def aliasTypeTransitive: Iterator[Type]

Direct and transitive alias types.

Direct and transitive alias types.

Attributes

def annotation: Iterator[Annotation]

Annotations of the corresponding type declaration.

Annotations of the corresponding type declaration.

Attributes

def baseType: Iterator[Type]

Direct base types of the corresponding type declaration in the inheritance graph.

Direct base types of the corresponding type declaration in the inheritance graph.

Attributes

def baseTypeTransitive: Iterator[Type]

Direct and transitive base types of the corresponding type declaration.

Direct and transitive base types of the corresponding type declaration.

Attributes

def derivedType: Iterator[Type]

Direct derived types.

Direct derived types.

Attributes

def derivedTypeDecl: Iterator[TypeDecl]

Type declarations which derive from this type.

Type declarations which derive from this type.

Attributes

def derivedTypeTransitive: Iterator[Type]

Direct and transitive derived types.

Direct and transitive derived types.

Attributes

def expression: Iterator[Expression]
def expressionOfType: Iterator[Expression]
def external: Iterator[Type]

Filter for types whos corresponding type declaration is not in the analyzed jar.

Filter for types whos corresponding type declaration is not in the analyzed jar.

Attributes

def internal: Iterator[Type]

Filter for types whos corresponding type declaration is in the analyzed jar.

Filter for types whos corresponding type declaration is in the analyzed jar.

Attributes

def localOfType: Iterator[Local]
def member: Iterator[Member]

Member variables of the corresponding type declaration.

Member variables of the corresponding type declaration.

Attributes

def memberOfType: Iterator[Member]
def method: Iterator[Method]

Methods defined on the corresponding type declaration.

Methods defined on the corresponding type declaration.

Attributes

def methodReturnOfType: Iterator[MethodReturn]
def namespace: Iterator[Namespace]

Namespaces in which the corresponding type declaration is defined.

Namespaces in which the corresponding type declaration is defined.

Attributes

def parameterOfType: Iterator[MethodParameterIn]

Deprecated methods

def parameter: Iterator[MethodParameterIn]

Attributes

Deprecated
true

Concrete fields

val traversal: Iterator[Type]