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 augmentManifest(file: AbstractFile, manifest: Manifest): Unit
    Definition Classes
    Plugin
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val components: List[PluginComponent]
    Definition Classes
    ScalaJSPlugin → Plugin
  8. val description: String
    Definition Classes
    ScalaJSPlugin → Plugin
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generatedJSAST(clDefs: List[ClassDef]): Unit

    Called when the JS ASTs are generated.

    Called when the JS ASTs are generated. Override for testing

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

    Addons for the JavaScript platform.

  37. object scalaJSOpts extends ScalaJSOptions

Deprecated Value Members

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