LayerCreator

io.shiftleft.semanticcpg.layers.LayerCreator
abstract class LayerCreator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def create(context: LayerCreatorContext, storeUndoInfo: Boolean): Unit

Concrete methods

protected def initSerializedCpg(outputDir: Option[String], passName: String, index: Int): SerializedCpg
def run(context: LayerCreatorContext, storeUndoInfo: Boolean): Unit
protected def runPass(pass: CpgPassBase, context: LayerCreatorContext, storeUndoInfo: Boolean, index: Int): Unit

Abstract fields

val description: String
val overlayName: String

Concrete fields

val dependsOn: List[String]
protected val storeOverlayName: Boolean

If the LayerCreator modifies the CPG, then we store its name in the CPGs metadata and disallow rerunning the creator, that is, applying the layer twice.

If the LayerCreator modifies the CPG, then we store its name in the CPGs metadata and disallow rerunning the creator, that is, applying the layer twice.

Attributes