Transpiler

io.shiftleft.js2cpg.preprocessing.Transpiler

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Inherited classlikes

object Versions

Attributes

Inherited from:
TranspilingEnvironment
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

protected def logExecution(): Unit
def shouldRun(): Boolean
protected def transpile(tmpTranspileDir: Path): Boolean

Runs the transpiler at the specified transpile directory tmpTranspileDir.

Runs the transpiler at the specified transpile directory tmpTranspileDir.

Value parameters

tmpTranspileDir

the directory to run the transpiler in

Attributes

Returns

true if other transpilers in the chain (see TranspilerGroup) should run, false if not

def validEnvironment(): Boolean

Concrete methods

def run(tmpTranspileDir: Path): Boolean

Abstract fields

protected val config: Config
protected val projectPath: Path

Concrete fields

protected val DEFAULT_IGNORED_DIRS: List[String]
protected val DEFAULT_IGNORED_TEST_DIRS: List[String]