SBKey

io.joern.x2cpg.passes.frontend.SBKey
See theSBKey companion object
abstract class SBKey(val identifier: String)

Represents an identifier of some AST node at a specific scope.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LocalKey
class CallAlias
class LocalVar

Members list

Value members

Abstract methods

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

Concrete fields

val identifier: String