ContextStack

io.joern.pysrc2cpg.ContextStack
See theContextStack companion object
class ContextStack

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addFieldReference(identifier: NewFieldIdentifier, fieldAccess: NewCall): Unit
def addGlobalVariable(name: String): Unit
def addNonLocalVariable(name: String): Unit
def addParameter(parameter: NewMethodParameterIn): Unit
def addSpecialVariable(local: NewLocal): Unit
def addVariableReference(identifier: NewIdentifier, memOp: MemoryOperation): Unit
def astParent: NewNode
def findEnclosingMethod(): Option[NewMethod]
def findEnclosingTypeDecl(): Option[NewNode]
def isClassContext: Boolean
def isModuleContext: Boolean
def pop(): Unit
def pushClass(scopeName: Option[String], classNode: NewTypeDecl): Unit
def pushMethod(scopeName: Option[String], methodNode: NewMethod, methodBlockNode: NewBlock, methodRefNode: Option[NewMethodRef]): Unit
def pushSpecialContext(): Unit
def qualName: String
def setFileNamespaceBlock(namespaceBlock: NewNamespaceBlock): Unit