PrepJSExports

class Object
trait Matchable
class Any

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.

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.