object jsInterop
global javascript interop related helpers
- Alphabetic
- By Inheritance
- jsInterop
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait ExportInfo extends AnyRef
Info for a non-member export.
- sealed abstract class JSCallingConvention extends AnyRef
- sealed abstract class JSName extends AnyRef
- case class StaticExportInfo(jsName: String)(pos: scala.tools.nsc.Global.Position) extends ExportInfo with Product with Serializable
- case class TopLevelExportInfo(moduleID: String, jsName: String)(pos: scala.tools.nsc.Global.Position) extends ExportInfo with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearGlobalState(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def defaultJSNameOf(sym: scala.tools.nsc.Global.Symbol): String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isExport(sym: scala.tools.nsc.Global.Symbol): Boolean
checks if the given symbol is a JSExport
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isJSBracketAccess(sym: scala.tools.nsc.Global.Symbol): Boolean
has this symbol to be translated into a JS bracket access (JS to Scala)
- def isJSBracketCall(sym: scala.tools.nsc.Global.Symbol): Boolean
has this symbol to be translated into a JS bracket call (JS to Scala)
- def isJSGetter(sym: scala.tools.nsc.Global.Symbol): Boolean
has this symbol to be translated into a JS getter (both directions)?
- def isJSProperty(sym: scala.tools.nsc.Global.Symbol): Boolean
- def isJSSetter(sym: scala.tools.nsc.Global.Symbol): Boolean
has this symbol to be translated into a JS setter (both directions)?
- def jsExportInfo(name: scala.tools.nsc.Global.Name): (String, Boolean)
retrieves the originally assigned jsName of this export and whether it is a property
- def jsNameOf(sym: scala.tools.nsc.Global.Symbol): JSName
Gets the unqualified JS name of a symbol.
Gets the unqualified JS name of a symbol.
If it is not explicitly specified with an
@JSNameannotation, the JS name is inferred from the Scala name. - def jsNativeLoadSpecOf(sym: scala.tools.nsc.Global.Symbol): JSNativeLoadSpec
Gets the JS native load spec of a symbol in the current compilation run.
- def jsNativeLoadSpecOfOption(sym: scala.tools.nsc.Global.Symbol): Option[JSNativeLoadSpec]
Gets the JS native load spec of a symbol in the current compilation run, if it has one.
- def jsclassAccessorFor(clazz: scala.tools.nsc.Global.Symbol): scala.tools.nsc.Global.Symbol
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def registerStaticExports(sym: scala.tools.nsc.Global.Symbol, infos: List[StaticExportInfo]): Unit
- def registerTopLevelExports(sym: scala.tools.nsc.Global.Symbol, infos: List[TopLevelExportInfo]): Unit
- def scalaExportName(jsName: String, isProp: Boolean): scala.tools.nsc.Global.TermName
creates a name for an export specification
- def staticExportsOf(sym: scala.tools.nsc.Global.Symbol): List[StaticExportInfo]
- def storeJSNativeLoadSpec(sym: scala.tools.nsc.Global.Symbol, spec: JSNativeLoadSpec): Unit
Stores the JS native load spec of a symbol for the current compilation run.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def topLevelExportsOf(sym: scala.tools.nsc.Global.Symbol): List[TopLevelExportInfo]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object JSBinaryOpMethodName
- object JSCallingConvention
- object JSName
- object JSUnaryOpMethodName