PrepJSExports

dotty.tools.dotc.transform.sjs.PrepJSExports
object PrepJSExports

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Checks a class or module class for export.

Checks a class or module class for export.

Note that non-module Scala classes are never actually exported; their constructors are. However, the checks are performed on the class when the class is annotated.

Attributes

def genExportMember(baseSym: Symbol)(using Context): List[Tree]

Generate the exporter for the given DefDef or ValDef.

Generate the exporter for the given DefDef or ValDef.

If this DefDef is a constructor, it is registered to be exported by GenJSCode instead and no trees are returned.

Attributes