trait JSEncoding[G <: Global with Singleton] extends SubComponent
- Alphabetic
- By Inheritance
- JSEncoding
- SubComponent
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class StdPhase extends GlobalPhase
- Definition Classes
- SubComponent
Abstract Value Members
- abstract val global: Global
- Definition Classes
- SubComponent
- abstract def newPhase(prev: Phase): Phase
- Definition Classes
- SubComponent
- abstract val phaseName: String
- Definition Classes
- SubComponent
- abstract val runsAfter: List[String]
- Definition Classes
- SubComponent
- abstract val runsRightAfter: Option[String]
- Definition Classes
- SubComponent
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val JSSuperClassParamName: LocalName
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, leveraginglambdaliftto 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.
- final def afterOwnPhase[T](op: => T): T
- Definition Classes
- SubComponent
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def beforeOwnPhase[T](op: => T): T
- Definition Classes
- SubComponent
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def enabled: Boolean
- Definition Classes
- SubComponent
- def encodeClassName(sym: G.Symbol): ClassName
- def encodeClassNameIdent(sym: G.Symbol)(implicit pos: G.Position): ClassIdent
- def encodeClassType(sym: G.Symbol): Type
- def encodeFieldSym(sym: G.Symbol)(implicit pos: G.Position): FieldIdent
- def encodeFieldSymAsStringLiteral(sym: G.Symbol)(implicit pos: G.Position): StringLiteral
- def encodeLabelSym(sym: G.Symbol)(implicit pos: G.Position): LabelIdent
- def encodeLocalSym(sym: G.Symbol)(implicit pos: G.Position): LocalIdent
- def encodeMethodSym(sym: G.Symbol, reflProxy: Boolean = false)(implicit pos: G.Position): MethodIdent
- def encodeStaticFieldGetterSym(sym: G.Symbol)(implicit pos: G.Position): MethodIdent
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def freshLabelIdent(base: String)(implicit pos: Position): LabelIdent
- def freshLocalIdent(base: String)(implicit pos: Position): LocalIdent
- def freshLocalIdent(base: LocalName)(implicit pos: Position): LocalIdent
- def freshLocalIdent()(implicit pos: Position): LocalIdent
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getEnclosingReturnLabel()(implicit pos: Position): LabelIdent
- def hashCode(): Int
- Definition Classes
- SubComponent → AnyRef → Any
- val initial: Boolean
- Definition Classes
- SubComponent
- val internal: Boolean
- Definition Classes
- SubComponent
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def needsModuleClassSuffix(sym: G.Symbol): Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def originalNameOfClass(sym: G.Symbol): OriginalName
- def originalNameOfField(sym: G.Symbol): OriginalName
- def originalNameOfLocal(sym: G.Symbol): OriginalName
- def originalNameOfMethod(sym: G.Symbol): OriginalName
- def ownPhase: Phase
- Definition Classes
- SubComponent
- def phaseNewFlags: Long
- Definition Classes
- SubComponent
- def phaseNextFlags: Long
- Definition Classes
- SubComponent
- val requires: List[String]
- Definition Classes
- SubComponent
- def reserveLocalName(name: LocalName): Unit
- val runsBefore: List[String]
- Definition Classes
- SubComponent
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val terminal: Boolean
- Definition Classes
- SubComponent
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withNewLocalNameScope[A](body: => A): A
- def withNewReturnableScope(tpe: Type)(body: => Tree)(implicit pos: Position): Tree