Scope

io.joern.javasrc2cpg.util.Scope
See theScope companion object
class Scope extends Scope[String, NodeTypeInfo, ScopeType]

Attributes

Companion:
object
Graph
Supertypes
class Scope[String, NodeTypeInfo, ScopeType]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addLambdaDecl(ast: Ast): Unit
def addLambdaMethod(method: Ast): Unit
def addMemberInitializersToScope(inits: Seq[Ast]): Unit
def addToScope(node: NewNode, name: String, typeFullName: Option[String]): Unit
def getEnclosingTypeDecl: Option[NewTypeDecl]
def getLambdaDeclsInScope: Iterable[Ast]
def getLambdaMethodsInScope: Iterable[Ast]
def getMemberInitializers: Seq[Ast]
def lookupVariableType(identifier: String, wildcardFallback: Boolean): Option[String]
override def popScope(): Option[ScopeType]

Attributes

Definition Classes
Scope
override def pushNewScope(scope: ScopeType): Unit

Attributes

Definition Classes
Scope

Inherited methods

def addToScope(identifier: String, variable: NodeTypeInfo): S

Attributes

Inherited from:
Scope
def isEmpty: Boolean

Attributes

Inherited from:
Scope
def lookupVariable(identifier: String): Option[V]

Attributes

Inherited from:
Scope