LocalKey

io.joern.x2cpg.passes.frontend.LocalKey
sealed class LocalKey(identifier: String) extends SBKey

Represents an identifier of some AST node at an intraprocedural scope.

Attributes

Graph
Supertypes
class SBKey
class Object
trait Matchable
class Any
Known subtypes
class CallAlias
class LocalVar

Members list

Value members

Concrete methods

override def fromNode(node: AstNode): Option[SBKey]

Convenience methods to convert a node to a SBKey.

Convenience methods to convert a node to a SBKey.

Value parameters

node

the node to convert.

Attributes

Returns

the corresponding SBKey if the node is supported as a key variable

Definition Classes