Class

org.scalajs.nscplugin

ScalaJSPlugin

Related Doc: package nscplugin

Permalink

class ScalaJSPlugin extends Plugin

Main entry point for the Scala.js compiler plugin

Linear Supertypes
Plugin, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaJSPlugin
  2. Plugin
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaJSPlugin(global: Global)

    Permalink

Type Members

  1. abstract class JSGlobalAddonsEarlyInit[G <: Global with Singleton] extends JSGlobalAddons

    Permalink

    A trick to avoid early initializers while still enforcing that global is initialized early.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ExplicitInnerJSComponent extends ExplicitInnerJS[global.type]

    Permalink
  5. object ExplicitLocalJSComponent extends ExplicitLocalJS[global.type]

    Permalink
  6. object GenCodeComponent extends GenJSCode[global.type]

    Permalink
  7. object PreTyperComponentComponent extends PreTyperComponent

    Permalink
  8. object PrepInteropComponent extends PrepJSInterop[global.type]

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val components: List[PluginComponent]

    Permalink
    Definition Classes
    ScalaJSPlugin → Plugin
  12. val description: String

    Permalink
    Definition Classes
    ScalaJSPlugin → Plugin
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def generatedJSAST(clDefs: List[ClassDef]): Unit

    Permalink

    Called when the JS ASTs are generated.

    Called when the JS ASTs are generated. Override for testing

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. val global: Global

    Permalink
    Definition Classes
    ScalaJSPlugin → Plugin
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def init(options: List[String], error: (String) ⇒ Unit): Boolean

    Permalink
    Definition Classes
    Plugin
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. object jsAddons extends JSGlobalAddonsEarlyInit[global.type]

    Permalink

    Addons for the JavaScript platform.

  23. val name: String

    Permalink
    Definition Classes
    ScalaJSPlugin → Plugin
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def options: List[String]

    Permalink
    Definition Classes
    Plugin
  28. val optionsHelp: Option[String]

    Permalink
    Definition Classes
    ScalaJSPlugin → Plugin
  29. def processOptions(options: List[String], error: (String) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ScalaJSPlugin → Plugin
  30. object scalaJSOpts extends ScalaJSOptions

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def registerModuleExports(sym: scala.tools.nsc.Global.Symbol): Unit

    Permalink

    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.

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Ungrouped