ImportCode

io.joern.console.cpgcreation.ImportCode
class ImportCode[T <: Project](console: Console[T])(implicit availableWidthProvider: AvailableWidthProvider) extends Reporting

Attributes

Graph
Supertypes
trait Reporting
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

class CFrontend(name: String, extension: String) extends SourceBasedFrontend

Attributes

Supertypes
class Frontend
class Object
trait Matchable
class Any
abstract class Frontend(val name: String, val language: String, val description: String)(implicit availableWidthProvider: AvailableWidthProvider)

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JsFrontend(name: String, language: String, description: String, extension: String) extends SourceBasedFrontend

Attributes

Supertypes
class Frontend
class Object
trait Matchable
class Any
class SourceBasedFrontend(name: String, language: String, description: String, extension: String) extends Frontend

Attributes

Supertypes
class Frontend
class Object
trait Matchable
class Any
Known subtypes
class SwiftSrcFrontend(name: String, language: String, description: String, extension: String) extends SourceBasedFrontend

Attributes

Supertypes
class Frontend
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(inputPath: String, projectName: String, language: String): Cpg

This is the importCode(...) method exposed on the console. It attempts to find a suitable CPG generator first by looking at the language parameter and if no generator is found for the language, looking the contents at inputPath to determine heuristically which generator to use.

This is the importCode(...) method exposed on the console. It attempts to find a suitable CPG generator first by looking at the language parameter and if no generator is found for the language, looking the contents at inputPath to determine heuristically which generator to use.

Attributes

def jvm: Frontend
def llvm: Frontend
override def toString: String

Provide an overview of the available CPG generators (frontends)

Provide an overview of the available CPG generators (frontends)

Attributes

Definition Classes
Any

Inherited methods

def report(string: String): Unit

Attributes

Inherited from:
Reporting
def reportOutStream: OutputStream

Attributes

Inherited from:
Reporting