Cpg

io.shiftleft.codepropertygraph.generated.Cpg
See theCpg companion object
class Cpg(_graph: Graph) extends AutoCloseable

Domain-specific wrapper for graph, starting point for traversals.

Value parameters

graph

the underlying graph. An empty graph is created if this parameter is omitted.

Attributes

Companion
object
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable
def graph: Graph
def help(implicit searchPackageNames: DocSearchPackages, availableWidthProvider: AvailableWidthProvider): String
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any