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.

Attributes

graph

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

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

Members list

Concise view

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable
def graph: Graph
def help(implicit searchPackageNames: DocSearchPackages): 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