MethodScopeElement

io.joern.jssrc2cpg.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 Object
trait Matchable
class Any

Members list

Concise view

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

Attributes

Inherited from:
ScopeElement