c

org.scalajs.nscplugin

ScalaJSPlugin

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)

Type Members

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

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val components: List[PluginComponent]
    Definition Classes
    ScalaJSPlugin → Plugin
  7. val description: String
    Definition Classes
    ScalaJSPlugin → Plugin
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def generatedJSAST(clDefs: List[ClassDef]): Unit

    Called when the JS ASTs are generated.

    Called when the JS ASTs are generated. Override for testing

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. val global: Global
    Definition Classes
    ScalaJSPlugin → Plugin
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. def init(options: List[String], error: (String) ⇒ Unit): Boolean
    Definition Classes
    ScalaJSPlugin → Plugin
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val name: String
    Definition Classes
    ScalaJSPlugin → Plugin
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def options: List[String]
    Definition Classes
    Plugin
  22. val optionsHelp: Option[String]
    Definition Classes
    ScalaJSPlugin → Plugin
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. object ExplicitInnerJSComponent extends ExplicitInnerJS[global.type]
  29. object ExplicitLocalJSComponent extends ExplicitLocalJS[global.type]
  30. object GenCodeComponent extends GenJSCode[global.type]
  31. object PreTyperComponentComponent extends PreTyperComponent
  32. object PrepInteropComponent extends PrepJSInterop[global.type]
  33. object jsAddons extends JSGlobalAddonsEarlyInit[global.type]

    Addons for the JavaScript platform.

  34. object scalaJSOpts extends ScalaJSOptions

Deprecated Value Members

  1. def processOptions(options: List[String], error: (String) ⇒ Unit): Unit
    Definition Classes
    Plugin
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use Plugin#init instead

  2. 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.

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Ungrouped