BlockScopeElement

io.shiftleft.js2cpg.datastructures.scope.BlockScopeElement
class BlockScopeElement(val name: String, val scopeNode: NewNode, val surroundingScope: Option[ScopeElement]) extends ScopeElement

Attributes

Graph
Supertypes
class ScopeElement
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def addVariable(variableName: String, variableNode: NewNode): Unit

Attributes

Inherited from:
ScopeElement

Concrete fields

override val name: String
override val scopeNode: NewNode
override val surroundingScope: Option[ScopeElement]

Inherited fields

val nameToVariableNode: Map[String, NewNode]

Attributes

Inherited from:
ScopeElement
var subScopeCounter: Int

Attributes

Inherited from:
ScopeElement