c

io.joern.jssrc2cpg.passes

JavaScriptInheritanceNamePass

class JavaScriptInheritanceNamePass extends XInheritanceFullNamePass

Using some basic heuristics, will try to resolve type full names from types found within the CPG. Requires ImportPass as a pre-requisite.

Linear Supertypes
XInheritanceFullNamePass, ForkJoinParallelCpgPass[TypeDecl], NewStyleCpgPassBase[TypeDecl], CpgPassBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaScriptInheritanceNamePass
  2. XInheritanceFullNamePass
  3. ForkJoinParallelCpgPass
  4. NewStyleCpgPassBase
  5. CpgPassBase
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JavaScriptInheritanceNamePass(cpg: Cpg)

Type Members

  1. type DiffGraphBuilder = overflowdb.BatchedUpdate.DiffGraphBuilder
    Definition Classes
    NewStyleCpgPassBase

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseLogger: Logger
    Attributes
    protected
    Definition Classes
    CpgPassBase
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def createAndApply(): Unit
    Definition Classes
    NewStyleCpgPassBase → CpgPassBase
  8. def createApplySerializeAndStore(serializedCpg: SerializedCpg, inverse: Boolean, prefix: String): Unit
    Definition Classes
    ForkJoinParallelCpgPass → CpgPassBase
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. val fileExt: String
    Definition Classes
    JavaScriptInheritanceNamePass → XInheritanceFullNamePass
  12. val fileModuleSep: Char
    Attributes
    protected
    Definition Classes
    XInheritanceFullNamePass
  13. def finish(): Unit
    Definition Classes
    NewStyleCpgPassBase
  14. def generateOutFileName(prefix: String, outName: String, index: Int): String
    Attributes
    protected
    Definition Classes
    CpgPassBase
  15. def generateParts(): Array[TypeDecl]
    Definition Classes
    XInheritanceFullNamePass → NewStyleCpgPassBase
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def inheritsNothingOfInterest(inheritedTypes: Seq[String]): Boolean
    Attributes
    protected
    Definition Classes
    XInheritanceFullNamePass
  19. def init(): Unit
    Definition Classes
    NewStyleCpgPassBase
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val moduleName: String
    Definition Classes
    JavaScriptInheritanceNamePass → XInheritanceFullNamePass
  22. def name: String
    Definition Classes
    CpgPassBase
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val pathSep: Char
    Definition Classes
    JavaScriptInheritanceNamePass → XInheritanceFullNamePass
  27. def resolveInheritedTypeFullName(td: TypeDecl, builder: DiffGraphBuilder): Seq[TypeDeclBase]
    Attributes
    protected
    Definition Classes
    XInheritanceFullNamePass
  28. def runOnPart(builder: DiffGraphBuilder, source: TypeDecl): Unit
    Definition Classes
    XInheritanceFullNamePass → NewStyleCpgPassBase
  29. def runWithBuilder(externalBuilder: overflowdb.BatchedUpdate.DiffGraphBuilder): Int
    Definition Classes
    NewStyleCpgPassBase → CpgPassBase
  30. def runWithBuilderLogged(builder: overflowdb.BatchedUpdate.DiffGraphBuilder): Int
    Definition Classes
    CpgPassBase
  31. def store(overlay: GeneratedMessageV3, name: String, serializedCpg: SerializedCpg): Unit
    Attributes
    protected
    Definition Classes
    CpgPassBase
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. def withStartEndTimesLogged[A](fun: => A): A
    Attributes
    protected
    Definition Classes
    CpgPassBase
  38. def xTypeFullName(importedType: String, importedPath: String): (String, String)
    Attributes
    protected
    Definition Classes
    XInheritanceFullNamePass

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from XInheritanceFullNamePass

Inherited from ForkJoinParallelCpgPass[TypeDecl]

Inherited from NewStyleCpgPassBase[TypeDecl]

Inherited from CpgPassBase

Inherited from AnyRef

Inherited from Any

Ungrouped