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)
Type Members
-
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
-
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
augmentManifest(file: AbstractFile, manifest: Manifest): Unit
- Definition Classes
- Plugin
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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[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
- ScalaJSPlugin → 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
- Plugin
- Annotations
- @deprecatedOverriding( "use Plugin#init instead" , "2.11.0" )
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
writeAdditionalOutputs(writer: OutputFileWriter): Unit
- Definition Classes
- Plugin
- object ExplicitInnerJSComponent extends ExplicitInnerJS[global.type]
- object ExplicitLocalJSComponent extends ExplicitLocalJS[global.type]
- object GenCodeComponent extends GenJSCode[global.type]
- object PreTyperComponentComponent extends PreTyperComponent
- object PrepInteropComponent extends PrepJSInterop[global.type]
-
object
jsAddons extends JSGlobalAddonsEarlyInit[global.type]
Addons for the 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.