TypeDeclTraversal

io.shiftleft.semanticcpg.language.types.structure.TypeDeclTraversal
See theTypeDeclTraversal companion object
final class TypeDeclTraversal(val traversal: Traversal[TypeDecl]) extends AnyVal

Type declaration - possibly a template that requires instantiation

Attributes

Companion:
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def aliasTypeDecl: Traversal[TypeDecl]

Direct alias type declarations.

Direct alias type declarations.

Attributes

def aliasTypeDeclTransitive: Traversal[TypeDecl]

Direct and transitive alias type declarations.

Direct and transitive alias type declarations.

Attributes

def annotation: Traversal[Annotation]

Annotations of the type declaration

Annotations of the type declaration

Attributes

def baseType: Traversal[Type]

Direct base types in the inheritance graph.

Direct base types in the inheritance graph.

Attributes

def baseTypeDecl: Traversal[TypeDecl]

Direct base type declaration.

Direct base type declaration.

Attributes

def baseTypeDeclTransitive: Traversal[TypeDecl]

Direct and transitive base type declaration.

Direct and transitive base type declaration.

Attributes

def canonicalType: Traversal[TypeDecl]

Traverse to canonical type which means unravel aliases until we find a non alias type declaration.

Traverse to canonical type which means unravel aliases until we find a non alias type declaration.

Attributes

def derivedTypeDecl: Traversal[TypeDecl]

Direct base type declaration.

Direct base type declaration.

Attributes

def derivedTypeDeclTransitive: Traversal[TypeDecl]

Direct and transitive base type declaration.

Direct and transitive base type declaration.

Attributes

def external: Traversal[TypeDecl]

Filter for type declarations not contained in the analyzed code.

Filter for type declarations not contained in the analyzed code.

Attributes

def internal: Traversal[TypeDecl]

Filter for type declarations contained in the analyzed code.

Filter for type declarations contained in the analyzed code.

Attributes

def isAlias: Traversal[TypeDecl]

Traverse to alias type declarations.

Traverse to alias type declarations.

Attributes

def isCanonical: Traversal[TypeDecl]

Traverse to canonical type declarations.

Traverse to canonical type declarations.

Attributes

def member: Traversal[Member]

Member variables

Member variables

Attributes

def method: Traversal[Method]

Methods defined as part of this type

Methods defined as part of this type

Attributes

def namespace: Traversal[Namespace]

Namespace in which this type declaration is defined

Namespace in which this type declaration is defined

Attributes

def referencingType: Traversal[Type]

Types referencing to this type declaration.

Types referencing to this type declaration.

Attributes

def unravelAlias: Traversal[TypeDecl]

If this is an alias type declaration, go to its underlying type declaration else unchanged.

If this is an alias type declaration, go to its underlying type declaration else unchanged.

Attributes

Concrete fields

val traversal: Traversal[TypeDecl]