All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.joern.swiftsrc2cpg.passes.SwiftInheritanceNamePass.scala Maven / Gradle / Ivy

package io.joern.swiftsrc2cpg.passes

import io.joern.x2cpg.passes.frontend.XInheritanceFullNamePass
import io.shiftleft.codepropertygraph.Cpg
import io.shiftleft.semanticcpg.language.types.structure.NamespaceTraversal

/** Using some basic heuristics, will try to resolve type full names from types found within the CPG. Requires
  * ImportPass as a pre-requisite.
  */
class SwiftInheritanceNamePass(cpg: Cpg) extends XInheritanceFullNamePass(cpg) {

  override val pathSep: Char      = ':'
  override val moduleName: String = NamespaceTraversal.globalNamespaceName
  override val fileExt: String    = ".swift"

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy