Not for use in the constructor body: only initialized afterwards.
Not for use in the constructor body: only initialized afterwards.
Checks that a setter has the right signature.
Checks that a setter has the right signature.
Reports error messages otherwise.
Generate the exporter for the given DefDef or ValDef (abstract val in class, val in trait or lazy val; these don't get DefDefs until the fields phase)
Generate the exporter for the given DefDef or ValDef (abstract val in class, val in trait or lazy val; these don't get DefDefs until the fields phase)
If this DefDef is a constructor, it is registered to be exported by GenJSCode instead and no trees are returned.
Tests whether the symbol has private
in any form, either private
,
private[this]
or private[Enclosing]
.
Check and (potentially) register a class or module for export.
Check and (potentially) register a class or module for export.
Note that Scala classes are never registered for export, their constructors are.
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.