Hacks to have our source code compatible with 2.10 and 2.11.
Generate JavaScript code and output it to disk
Generation of exports for JavaScript
Send JS ASTs to files
Core definitions for Scala.js
Encoding of symbol names for JavaScript
Encoding of symbol names for JavaScript
Some issues that this encoding solves: * Overloading: encode the full signature in the JS name * Same scope for fields and methods of a class * Global access to classes and modules (by their full name)
Additions to Global meaningful for the JavaScript backend
Extension of ScalaPrimitives for primitives only relevant to the JS backend
Prepare export generation
Prepare export generation
Helpers for transformation of @JSExport annotations
Prepares classes extending js.Any for JavaScript interop
Prepares classes extending js.Any for JavaScript interop
This phase does: - Sanity checks for js.Any hierarchy - Annotate subclasses of js.Any to be treated specially - Rewrite calls to scala.Enumeration.Value (include name string) - Create JSExport methods: Dummy methods that are propagated through the whole compiler chain to mark exports. This allows exports to have the same semantics than methods.
This trait allows to query all options to the ScalaJS plugin
This trait allows to query all options to the ScalaJS plugin
Also see the help text in ScalaJSPlugin for information about particular options.
Main entry point for the Scala.js compiler plugin
Glue representation of types as seen from the IR but still with a reference to the Symbols.
Useful extractors for JavaScript trees
Hacks to have our source code compatible with 2.10 and 2.11. It exposes 2.11 API in a 2.10 compiler.