C2Cpg

class C2Cpg extends X2CpgFrontend[Config]
trait X2CpgFrontend[Config]
class Object
trait Matchable
class Any

Value members

Concrete methods

def createCpg(config: Config): Try[Cpg]
def printIfDefsOnly(config: Config): Unit

Inherited methods

def createCpg(inputNames: List[String])(implicit defaultConfig: Config): Try[Cpg]
Inherited from:
X2CpgFrontend
def createCpg(inputName: String)(implicit defaultConfig: Config): Try[Cpg]
Inherited from:
X2CpgFrontend
def createCpg(inputName: String, outputName: Option[String])(implicit defaultConfig: Config): Try[Cpg]

Create a CPG for code at inputName (a single location) with default frontend configuration. If outputName exists, it is the file name of the resulting CPG. Otherwise, the CPG is held in memory.

Create a CPG for code at inputName (a single location) with default frontend configuration. If outputName exists, it is the file name of the resulting CPG. Otherwise, the CPG is held in memory.

Inherited from:
X2CpgFrontend
def createCpg(inputNames: List[String], outputName: Option[String])(implicit defaultConfig: Config): Try[Cpg]

Create a CPG for code at inputNames with default frontend configuration. If outputName exists, it is the file name of the resulting CPG. Otherwise, the CPG is held in memory.

Create a CPG for code at inputNames with default frontend configuration. If outputName exists, it is the file name of the resulting CPG. Otherwise, the CPG is held in memory.

Inherited from:
X2CpgFrontend
def run(config: Config): Unit

Create CPG according to given configuration, printing errors to the console if they occur. The CPG is not returned.

Create CPG according to given configuration, printing errors to the console if they occur. The CPG is not returned.

Inherited from:
X2CpgFrontend