io.joern.jssrc2cpg.datastructures
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
case class PendingReference(variableName: String, referenceNode: NewNode, stack: Option[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.