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

io.shiftleft.js2cpg.passes.Defines.scala Maven / Gradle / Ivy

There is a newer version: 0.3.3
Show newest version
package io.shiftleft.js2cpg.passes

import io.shiftleft.semanticcpg.language.types.structure.NamespaceTraversal

object Defines {
  val Any: String     = "ANY"
  val Number: String  = "__ecma.Number"
  val String: String  = "__ecma.String"
  val Boolean: String = "__ecma.Boolean"
  val Null: String    = "__ecma.Null"
  val Math: String    = "__ecma.Math"
  val Console: String = "__whatwg.console"

  val GlobalNamespace: String = NamespaceTraversal.globalNamespaceName

  val JsTypes: List[String] =
    List(Any, Number, String, Boolean, Null, Math, Console)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy