trait X2CpgFrontend[T <: X2CpgConfig[_]] extends AnyRef
Trait that represents a CPG generator, where T is the frontend configuration class.
- Alphabetic
- By Inheritance
- X2CpgFrontend
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def createCpg(config: T): Try[Cpg]
Create a CPG according to given configuration.
Create a CPG according to given configuration. Returns CPG wrapped in a
Try, making it possible to detect and inspect exceptions in CPG generation. To be provided by the frontend.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createCpg(inputName: String)(implicit defaultConfig: T): Try[Cpg]
Create a CPG in memory for file at
inputNamewith default configuration. - def createCpg(inputName: String, outputName: Option[String])(implicit defaultConfig: T): Try[Cpg]
Create a CPG for code at
inputName(a single location) with default frontend configuration.Create a CPG for code at
inputName(a single location) with default frontend configuration. IfoutputNameexists, it is the file name of the resulting CPG. Otherwise, the CPG is held in memory. - def createCpgWithOverlays(inputName: String)(implicit defaultConfig: T): Try[Cpg]
Create a CPG for code at
inputPathand apply default overlays. - def createCpgWithOverlays(config: T): Try[Cpg]
Create a CPG with default overlays according to given configuration
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def run(config: T): Unit
Create CPG according to given configuration, printing errors to the console if they occur.
Create CPG according to given configuration, printing errors to the console if they occur. The CPG is closed and not returned.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated