object jsInterop
global javascript interop related helpers
- Alphabetic
- By Inheritance
- jsInterop
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def isFieldStatic(sym: scala.tools.nsc.Global.Symbol): Boolean
Is this field symbol a static field at the IR level?
- 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 registerForExport(sym: scala.tools.nsc.Global.Symbol, infos: List[ExportInfo]): Unit
- def registeredExportsOf(sym: scala.tools.nsc.Global.Symbol): List[ExportInfo]
- def scalaExportName(jsName: String, isProp: Boolean): scala.tools.nsc.Global.TermName
creates a name for an export specification
- def staticFieldInfoOf(sym: scala.tools.nsc.Global.Symbol): List[ExportInfo]
The export info of a static field.
The export info of a static field.
Requires
isFieldStatic(sym).The result is non-empty. If it contains an
ExportInfowithisStatic = true, then it is the only element in the list. Otherwise, all elements haveisTopLevel = true. - 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
- 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 JSName