SBKey

io.joern.x2cpg.passes.frontend.SBKey
See theSBKey companion object
abstract class SBKey

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 GlobalKey
class FieldVar
class LocalKey
class CallAlias
class LocalVar

Members list

Concise view

Value members

Abstract methods

def fromNode(node: AstNode): SBKey

Convenience methods to convert a node to a SBKey.

Convenience methods to convert a node to a SBKey.

Attributes

node

the node to convert.

Returns:

the corresponding SBKey.