org.scalajs.core.tools.javascript

ScalaJSClassEmitter

Related Doc: package javascript

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, globalInfo: GlobalInfo)

  2. new ScalaJSClassEmitter(semantics: Semantics)

    Annotations
    @deprecated
    Deprecated

    (Since version Use the constructor with additional GlobalInfo) 0.6.1

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: LinkedClass): Tree

  12. def genClass(tree: LinkedClass): Tree

  13. def genClassDef(tree: LinkedClass): Tree

    Desugar a Scala.js class into ECMAScript 5 constructs

    Desugar a Scala.js class into ECMAScript 5 constructs

    tree

    The IR tree to emit to raw JavaScript

  14. def genClassExports(tree: LinkedClass): Tree

  15. def genConstructor(tree: LinkedClass): Tree

    Generates the JS constructor for a class.

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

  17. def genExportedMembers(tree: LinkedClass): Tree

  18. def genInstanceTests(tree: LinkedClass): Tree

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

    Generates a method.

  20. def genModuleAccessor(tree: LinkedClass): Tree

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

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

    Generates a property.

  23. def genSetTypeData(tree: LinkedClass): Tree

  24. def genStaticMembers(tree: LinkedClass): Tree

  25. def genTypeData(tree: LinkedClass): Tree

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped