Scope

io.joern.php2cpg.datastructures.Scope
class Scope extends Scope[String, NewNode, NewNode]

Attributes

Graph
Supertypes
class Scope[String, NewNode, NewNode]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addAnonymousMethod(methodAst: Ast): Unit
def addConstOrStaticInitToScope(ast: Ast): Unit
def addFieldInitToScope(ast: Ast): Unit
override def addToScope(identifier: String, variable: NewNode): NewNode

Attributes

Definition Classes
Scope
def getConstAndStaticInits: List[Ast]
def getEnclosingNamespaceName: Option[String]
def getEnclosingTypeDeclType: Option[String]
def getFieldInits: List[Ast]
def getLocalsInScope: List[NewLocal]
override def popScope(): Option[NewNode]

Attributes

Definition Classes
Scope
override def pushNewScope(scopeNode: NewNode): Unit

Attributes

Definition Classes
Scope

Inherited methods

def isEmpty: Boolean

Attributes

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

Attributes

Inherited from:
Scope