package pysrc2cpg
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- class AutoIncIndex extends AnyRef
- class CodeToCpg extends ConcurrentWriterCpgPass[InputProvider]
- class ContextStack extends AnyRef
- class DynamicTypeHintFullNamePass extends CpgPass
The type hints we pick up via the parser are not full names.
The type hints we pick up via the parser are not full names. This pass fixes that by retrieving the import for each dynamic type hint and adjusting the dynamic type hint full name field accordingly.
- class EdgeBuilder extends AnyRef
- class ImportsPass extends CpgPass
- case class LineAndColumn(line: Int, column: Int, endLine: Int, endColumn: Int) extends Product with Serializable
- case class MethodParameters(posStartIndex: Int, positionalParams: Iterable[NewMethodParameterIn]) extends Product with Serializable
- class NodeBuilder extends AnyRef
- class NodeToCode extends AnyRef
- class Py2Cpg extends AnyRef
Entry point for general cpg generation from python code.
- class Py2CpgOnFileSystem extends X2CpgFrontend[Py2CpgOnFileSystemConfig]
- case class Py2CpgOnFileSystemConfig(outputFile: Path = Paths.get(X2CpgConfig.defaultOutputPath), inputDir: Path = null, venvDir: Path = Paths.get(".venv"), ignoreVenvDir: Boolean = true, disableDummyTypes: Boolean = false) extends X2CpgConfig[Py2CpgOnFileSystemConfig] with Product with Serializable
- class PythonAstVisitor extends PythonAstVisitorHelpers
- trait PythonAstVisitorHelpers extends AnyRef
- class PythonNaiveCallLinker extends CpgPass
Link remaining unlinked Python calls to methods only by their name (not full name)
- class PythonTypeHintCallLinker extends XTypeHintCallLinker
- class PythonTypeRecovery extends XTypeRecovery[File]
- sealed trait PythonVersion extends AnyRef
- class RecoverForPythonFile extends RecoverForXCompilationUnit[File]
Performs type recovery from the root of a compilation unit level
Value Members
- object CodeToCpg
- object Constants
- object ContextStack
- object MethodParameters extends Serializable
- object NewMain extends X2CpgMain[Py2CpgOnFileSystemConfig, Py2CpgOnFileSystem]
- object Py2Cpg
- object PythonAstVisitor
- object PythonTypeRecovery
- object PythonV2 extends PythonVersion
- object PythonV2AndV3 extends PythonVersion
- object PythonV3 extends PythonVersion