Trait

org.scalajs.nscplugin

JSEncoding

Related Doc: package nscplugin

Permalink

trait JSEncoding[G <: Global with Singleton] extends SubComponent

Encoding of symbol names for the IR.

Self Type
GenJSCode[G]
Linear Supertypes
SubComponent, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSEncoding
  2. SubComponent
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class StdPhase extends GlobalPhase

    Permalink
    Definition Classes
    SubComponent

Abstract Value Members

  1. abstract val global: Global

    Permalink
    Definition Classes
    SubComponent
  2. abstract def newPhase(prev: Phase): Phase

    Permalink
    Definition Classes
    SubComponent
  3. abstract val phaseName: String

    Permalink
    Definition Classes
    SubComponent
  4. abstract val runsAfter: List[String]

    Permalink
    Definition Classes
    SubComponent
  5. abstract val runsRightAfter: Option[String]

    Permalink
    Definition Classes
    SubComponent

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val JSSuperClassParamName: LocalName

    Permalink

    Name of the capture param storing the JS super class.

    Name of the capture param storing the JS super class.

    This is used by the dispatchers of exposed JS methods and properties of nested JS classes when they need to perform a super call. Other super calls (in the actual bodies of the methods, not in the dispatchers) do not use this value, since they are implemented as static methods that do not have access to it. Instead, they get the JS super class value through the magic method inserted by ExplicitLocalJS, leveraging lambdalift to ensure that it is properly captured.

    Using this identifier is only allowed if it was reserved in the current local name scope using reserveLocalName. Otherwise, this name can clash with another local identifier.

  5. final def afterOwnPhase[T](op: ⇒ T): T

    Permalink
    Definition Classes
    SubComponent
    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. final def beforeOwnPhase[T](op: ⇒ T): T

    Permalink
    Definition Classes
    SubComponent
    Annotations
    @inline()
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def enabled: Boolean

    Permalink
    Definition Classes
    SubComponent
  10. def encodeClassName(sym: G.Symbol): ClassName

    Permalink
  11. def encodeClassNameIdent(sym: G.Symbol)(implicit pos: G.Position): ClassIdent

    Permalink
  12. def encodeClassType(sym: G.Symbol): Type

    Permalink
  13. def encodeDynamicImportForwarderIdent(params: List[G.Symbol])(implicit pos: G.Position): MethodIdent

    Permalink
  14. def encodeFieldSym(sym: G.Symbol)(implicit pos: G.Position): FieldIdent

    Permalink
  15. def encodeFieldSymAsStringLiteral(sym: G.Symbol)(implicit pos: G.Position): StringLiteral

    Permalink
  16. def encodeLabelSym(sym: G.Symbol)(implicit pos: G.Position): LabelIdent

    Permalink
  17. def encodeLocalSym(sym: G.Symbol)(implicit pos: G.Position): LocalIdent

    Permalink
  18. def encodeMethodSym(sym: G.Symbol, reflProxy: Boolean = false)(implicit pos: G.Position): MethodIdent

    Permalink
  19. def encodeStaticFieldGetterSym(sym: G.Symbol)(implicit pos: G.Position): MethodIdent

    Permalink
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def freshLabelIdent(base: String)(implicit pos: Position): LabelIdent

    Permalink
  24. def freshLocalIdent(base: String)(implicit pos: Position): LocalIdent

    Permalink
  25. def freshLocalIdent(base: LocalName)(implicit pos: Position): LocalIdent

    Permalink
  26. def freshLocalIdent()(implicit pos: Position): LocalIdent

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def getEnclosingReturnLabel()(implicit pos: Position): LabelIdent

    Permalink
  29. def hashCode(): Int

    Permalink
    Definition Classes
    SubComponent → AnyRef → Any
  30. val initial: Boolean

    Permalink
    Definition Classes
    SubComponent
  31. val internal: Boolean

    Permalink
    Definition Classes
    SubComponent
  32. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  34. def needsModuleClassSuffix(sym: G.Symbol): Boolean

    Permalink
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. def originalNameOfClass(sym: G.Symbol): OriginalName

    Permalink
  38. def originalNameOfField(sym: G.Symbol): OriginalName

    Permalink
  39. def originalNameOfLocal(sym: G.Symbol): OriginalName

    Permalink
  40. def originalNameOfMethod(sym: G.Symbol): OriginalName

    Permalink
  41. def ownPhase: Phase

    Permalink
    Definition Classes
    SubComponent
  42. def phaseNewFlags: Long

    Permalink
    Definition Classes
    SubComponent
  43. def phaseNextFlags: Long

    Permalink
    Definition Classes
    SubComponent
  44. val requires: List[String]

    Permalink
    Definition Classes
    SubComponent
  45. def reserveLocalName(name: LocalName): Unit

    Permalink
  46. val runsBefore: List[String]

    Permalink
    Definition Classes
    SubComponent
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. val terminal: Boolean

    Permalink
    Definition Classes
    SubComponent
  49. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def withNewLocalNameScope[A](body: ⇒ A): A

    Permalink
  54. def withNewReturnableScope(tpe: Type)(body: ⇒ Tree)(implicit pos: Position): Tree

    Permalink

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped