ScopeElement

io.joern.swiftsrc2cpg.datastructures.ScopeElement
abstract class ScopeElement(val name: String, val scopeNode: NewNode, val surroundingScope: Option[ScopeElement])

A single element of a scope stack.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

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

Concrete fields

val name: String
val nameToVariableNode: Map[String, NewNode]
val scopeNode: NewNode
var subScopeCounter: Int