MethodScopeElement

io.joern.swiftsrc2cpg.datastructures.MethodScopeElement
class MethodScopeElement(val methodFullName: String, val capturingRefId: Option[NewNode], 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

val capturingRefId: Option[NewNode]
val methodFullName: String
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