BlockScope

io.joern.javasrc2cpg.scope.JavaScopeElement.BlockScope
class BlockScope(implicit disableTypeFallback: Boolean) extends JavaScopeElement

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addHoistedPatternLocal(local: NewLocal): Unit
def addLocal(local: NewLocal, originalName: String): Unit
def getHoistedPatternLocals: Set[NewLocal]

Inherited methods

def addDeclaredTypeType(typeSimpleName: String, isTypeVariable: Boolean): Unit

Attributes

Inherited from:
JavaScopeElement
def addTypeToScope(name: String, scopeType: ScopeType): Unit

Attributes

Inherited from:
JavaScopeElement
def addWildcardImport(prefix: String): Unit

Attributes

Inherited from:
JavaScopeElement
def getDeclaredTypeType(typeSimpleName: String): Option[TypeType]

Attributes

Inherited from:
JavaScopeElement
def getNameWithWildcardPrefix(name: String): Option[ScopeType]

Attributes

Inherited from:
JavaScopeElement

Attributes

Inherited from:
JavaScopeElement
def lookupType(name: String, includeWildcards: Boolean): Option[ScopeType]

Attributes

Inherited from:
JavaScopeElement

Attributes

Inherited from:
JavaScopeElement

Concrete fields

val isStatic: Boolean