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.
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.
Prepare export generation
Helpers for transformation of @JSExport annotations