class ScalaJSPlugin extends Plugin
Main entry point for the Scala.js compiler plugin
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScalaJSPlugin
- Plugin
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ScalaJSPlugin(global: Global)
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 clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- val components: List[PluginComponent]
- Definition Classes
- ScalaJSPlugin → Plugin
- val description: String
- Definition Classes
- ScalaJSPlugin → Plugin
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def generatedJSAST(clDefs: List[ClassDef]): Unit
Called when the JS ASTs are generated.
Called when the JS ASTs are generated. Override for testing
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val global: Global
- Definition Classes
- ScalaJSPlugin → Plugin
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(options: List[String], error: (String) ⇒ Unit): Boolean
- Definition Classes
- Plugin
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- Definition Classes
- ScalaJSPlugin → Plugin
- 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 options: List[String]
- Definition Classes
- Plugin
- val optionsHelp: Option[String]
- Definition Classes
- ScalaJSPlugin → Plugin
- def processOptions(options: List[String], error: (String) ⇒ Unit): Unit
- Definition Classes
- ScalaJSPlugin → Plugin
- 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
- @native() @throws(classOf[java.lang.InterruptedException])
- object ExplicitInnerJSComponent extends ExplicitInnerJS
- object ExplicitLocalJSComponent extends ExplicitLocalJS
- object GenCodeComponent extends GenJSCode
- object PreTyperComponentComponent extends PreTyperComponent
- object PrepInteropComponent extends PrepJSInterop
- object jsAddons extends JSGlobalAddons with CompatComponent
Addons for JavaScript platform
- object scalaJSOpts extends ScalaJSOptions
Deprecated Value Members
- def registerModuleExports(sym: scala.tools.nsc.Global.Symbol): Unit
Checks and registers module exports on the symbol.
Checks and registers module exports on the symbol.
This bridge allows other plugins to register new modules for export between jsinterop and jscode phases. It is meant to be accessed using reflection. The calling code still must insert the
@JSExport
annotation to the module.- Annotations
- @deprecated
- Deprecated
(Since version 0.6.24) Might be removed at any time, use at your own risk.