Scope

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

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addLambdaMethod(method: Ast): Unit
def addLocal(local: NewLocal): Unit
def addLocalDecl(decl: Ast): Unit
def addMember(member: NewMember, isStatic: Boolean): Unit
def addMemberInitializers(initializers: Seq[Ast]): Unit
def addParameter(parameter: NewMethodParameterIn): Unit
def addStaticImport(importNode: NewImport): Unit
def addType(name: String, typeFullName: String): Unit
def addWildcardImport(prefix: String): Unit
def enclosingTypeDecl: Option[NewTypeDecl]
def enclosingTypeDeclFullName: Option[String]
def lambdaMethodsInScope: List[Ast]
def localDeclsInScope: List[Ast]
def lookupType(simpleName: String): Option[String]
def lookupVariableOrType(name: String): Option[String]
def memberInitializers: List[Ast]
def pushBlockScope(): Unit
def pushMethodScope(method: NewMethod, returnType: ExpectedType): Unit
def pushNamespaceScope(namespace: NewNamespaceBlock): Unit
def pushTypeDeclScope(typeDecl: NewTypeDecl): Unit