Scope

io.joern.javasrc2cpg.scope.Scope
See theScope companion class
object Scope

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Scope.type

Members list

Type members

Classlikes

final case class CapturedVariable(typeDeclChain: List[NewTypeDecl], variable: ScopeVariable) extends FoundVariable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait FoundVariable(variable: ScopeVariable) extends VariableLookupResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object NotInScope extends VariableLookupResult

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
NotInScope.type
final case class ScopeLocal(node: NewLocal) extends ScopeVariable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ScopeMember(node: NewMember, isStatic: Boolean) extends ScopeVariable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ScopeParameter(node: NewMethodParameterIn) extends ScopeVariable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ScopeStaticImport(node: NewImport) extends ScopeVariable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait ScopeVariable

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class SimpleVariable(variable: ScopeVariable) extends FoundVariable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait VariableLookupResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Types

type NewScopeNode = NewBlock | NewMethod | NewTypeDecl | NewNamespaceBlock
type NewVariableNode = NewLocal | NewMethodParameterIn | NewMember | NewImport