io.shiftleft.js2cpg.cpg.datastructures.scope
Type members
Classlikes
class BlockScopeElement(val name: String, val scopeNode: NewNode, val surroundingScope: Option[ScopeElement]) extends ScopeElement
class MethodScopeElement(val methodFullName: String, val capturingRefId: Option[NewNode], val name: String, val scopeNode: NewNode, val surroundingScope: Option[ScopeElement]) extends ScopeElement
class Scope
Handles the scope stack for tracking identifier to variable relation.
Handles the scope stack for tracking identifier to variable relation.
- Companion
- object
abstract
class ScopeElement(val name: String, val scopeNode: NewNode, val surroundingScope: Option[ScopeElement])
A single element of a scope stack.
A single element of a scope stack.