org.scalajs.core.tools.javascript

ScalaJSClassEmitter

final class ScalaJSClassEmitter extends AnyRef

Defines methods to emit Scala.js classes to JavaScript code. The results are completely desugared.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaJSClassEmitter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaJSClassEmitter(semantics: Semantics)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def genAddToPrototype(className: String, name: PropertyName, value: Tree)(implicit pos: Position): Tree

    Generate classVar.prototype.name = value

  10. def genAddToPrototype(className: String, name: PropertyName, value: Tree)(implicit pos: Position): Tree

    Generate classVar.prototype.name = value

  11. def genArrayInstanceTests(tree: ClassDef): Tree

  12. def genClass(tree: ClassDef): Tree

  13. def genClassDef(tree: ClassDef): Tree

    Desugar a Scala.js class into ECMAScript 5 constructs

  14. def genClassExports(tree: ClassDef): Tree

  15. def genConstructor(tree: ClassDef): Tree

    Generates the JS constructor for a class.

  16. def genConstructorExportDef(cd: ClassDef, tree: ConstructorExportDef): Tree

  17. def genDummyParent(name: String): Tree

    Generate a dummy parent.

    Generate a dummy parent. Used by ScalaJSOptimizer

  18. def genInstanceTests(tree: ClassDef): Tree

  19. def genMethod(className: String, method: MethodDef): Tree

    Generates a method.

  20. def genModuleAccessor(tree: ClassDef): Tree

  21. def genModuleExportDef(cd: ClassDef, tree: ModuleExportDef): Tree

  22. def genProperty(className: String, property: PropertyDef): Tree

    Generates a property.

  23. def genSetTypeData(tree: ClassDef): Tree

  24. def genTraitImpl(tree: ClassDef): Tree

  25. def genTraitImplMethod(traitImplName: String, tree: MethodDef): Tree

  26. def genTypeData(tree: ClassDef): Tree

  27. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped