Object

org.scalajs.nscplugin.ScalaJSPlugin

GenCodeComponent

Related Doc: package ScalaJSPlugin

Permalink

object GenCodeComponent extends GenJSCode[global.type]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenCodeComponent
  2. GenJSCode
  3. CompatComponent
  4. GenJSFiles
  5. GenJSExports
  6. JSEncoding
  7. TypeConversions
  8. PluginComponent
  9. SubComponent
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class BTypesCompat extends AnyRef

    Permalink
    Definition Classes
    CompatComponent
  2. implicit final class GlobalCompat extends AnyRef

    Permalink
    Definition Classes
    CompatComponent
  3. class JSCodePhase extends StdPhase with JSExportsPhase

    Permalink
    Definition Classes
    GenJSCode
  4. trait JSExportsPhase extends AnyRef

    Permalink
    Definition Classes
    GenJSExports
  5. sealed abstract class MaybeGlobalScope extends AnyRef

    Permalink
    Definition Classes
    GenJSCode
  6. type SAMFunctionCompat = SAMFunction

    Permalink
    Definition Classes
    CompatComponent
  7. implicit final class SAMFunctionCompatOps extends AnyRef

    Permalink
    Definition Classes
    CompatComponent
  8. abstract class StdPhase extends GlobalPhase

    Permalink
    Definition Classes
    SubComponent
  9. implicit final class StdTermNamesCompat extends AnyRef

    Permalink
    Definition Classes
    CompatComponent
  10. implicit final class StdTypeNamesCompat extends AnyRef

    Permalink
    Definition Classes
    CompatComponent
  11. implicit final class SymbolCompat extends AnyRef

    Permalink
    Definition Classes
    CompatComponent

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.

    Definition Classes
    JSEncoding
  5. object MaybeGlobalScope

    Permalink
    Definition Classes
    GenJSCode
  6. object SAMFunctionAttachCompat

    Permalink
    Definition Classes
    CompatComponent
  7. object SAMFunctionAttachCompatDef

    Permalink
    Definition Classes
    CompatComponent
  8. lazy val SAMFunctionCompat: SAMFunction.type

    Permalink
    Definition Classes
    CompatComponent
  9. object UndefinedParam extends Value with Product with Serializable

    Permalink

    Marker object for undefined parameters in JavaScript semantic calls.

    Marker object for undefined parameters in JavaScript semantic calls.

    To be used inside a js.Transient node.

    Definition Classes
    GenJSCode
  10. val WarningCategory: CompatComponent.WarningCategoryCompat.Reporting.WarningCategory.type

    Permalink
    Definition Classes
    CompatComponent
  11. object WarningCategoryCompat

    Permalink
    Definition Classes
    CompatComponent
  12. final def afterOwnPhase[T](op: ⇒ T): T

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val description: String

    Permalink
    Definition Classes
    GenJSCode → PluginComponent
  17. def enabled: Boolean

    Permalink
    Definition Classes
    SubComponent
  18. def encodeClassName(sym: scala.tools.nsc.Global.Symbol): ClassName

    Permalink
    Definition Classes
    JSEncoding
  19. def encodeClassNameIdent(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): ClassIdent

    Permalink
    Definition Classes
    JSEncoding
  20. def encodeClassType(sym: scala.tools.nsc.Global.Symbol): Type

    Permalink
    Definition Classes
    JSEncoding
  21. def encodeFieldSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): FieldIdent

    Permalink
    Definition Classes
    JSEncoding
  22. def encodeFieldSymAsStringLiteral(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): StringLiteral

    Permalink
    Definition Classes
    JSEncoding
  23. def encodeLabelSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): LabelIdent

    Permalink
    Definition Classes
    JSEncoding
  24. def encodeLocalSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): LocalIdent

    Permalink
    Definition Classes
    JSEncoding
  25. def encodeMethodSym(sym: scala.tools.nsc.Global.Symbol, reflProxy: Boolean = false)(implicit pos: scala.tools.nsc.Global.Position): MethodIdent

    Permalink
    Definition Classes
    JSEncoding
  26. def encodeStaticFieldGetterSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): MethodIdent

    Permalink
    Definition Classes
    JSEncoding
  27. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    JSEncoding
  31. def freshLocalIdent(base: String)(implicit pos: Position): LocalIdent

    Permalink
    Definition Classes
    JSEncoding
  32. def freshLocalIdent(base: LocalName)(implicit pos: Position): LocalIdent

    Permalink
    Definition Classes
    JSEncoding
  33. def freshLocalIdent()(implicit pos: Position): LocalIdent

    Permalink
    Definition Classes
    JSEncoding
  34. def genIRFile(cunit: scala.tools.nsc.Global.CompilationUnit, tree: ClassDef): Unit

    Permalink
    Definition Classes
    GenJSFiles
  35. def generatedJSAST(clDefs: List[ClassDef]): Unit

    Permalink

    testing: this will be called when ASTs are generated

    testing: this will be called when ASTs are generated

    Definition Classes
    GenCodeComponentGenJSCode
  36. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    JSEncoding
  38. val global: ScalaJSPlugin.global.type

    Permalink
    Definition Classes
    GenJSCodeCompatComponent → SubComponent
  39. def hashCode(): Int

    Permalink
    Definition Classes
    SubComponent → AnyRef → Any
  40. implicit def implicitPos2irPos(implicit pos: scala.tools.nsc.Global.Position): Position

    Permalink

    Materialize implicitly an ir.Position from an implicit nsc Position.

    Materialize implicitly an ir.Position from an implicit nsc Position.

    Definition Classes
    GenJSCode
  41. val initial: Boolean

    Permalink
    Definition Classes
    SubComponent
  42. final val internal: Boolean(false)

    Permalink
    Definition Classes
    PluginComponent → SubComponent
  43. lazy val isHijackedClass: Set[scala.tools.nsc.Global.Symbol]

    Permalink
    Attributes
    protected
    Definition Classes
    GenJSCode
  44. def isImplClass(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink
    Definition Classes
    CompatComponent
  45. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  46. def isJSType(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink

    Tests whether the given type symbol represents a JavaScript type, i.e., whether it extends scala.scalajs.js.Any.

    Tests whether the given type symbol represents a JavaScript type, i.e., whether it extends scala.scalajs.js.Any.

    Definition Classes
    GenJSCode
  47. def isJSType(tpe: scala.tools.nsc.Global.Type): Boolean

    Permalink

    Tests whether the given type represents a JavaScript type, i.e., whether it extends scala.scalajs.js.Any.

    Tests whether the given type represents a JavaScript type, i.e., whether it extends scala.scalajs.js.Any.

    Definition Classes
    GenJSCode
  48. def isNestedJSClass(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink
    Definition Classes
    GenJSCode
  49. def isNonNativeJSClass(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink

    Tests whether the given class is a non-native JS class.

    Tests whether the given class is a non-native JS class.

    Definition Classes
    GenJSCode
  50. def isStaticModule(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink
    Definition Classes
    GenJSCode
  51. val jsAddons: ScalaJSPlugin.jsAddons.type

    Permalink

    Not for use in the constructor body: only initialized afterwards.

    Not for use in the constructor body: only initialized afterwards.

    Definition Classes
    GenCodeComponentGenJSCode
  52. object jsnme

    Permalink
    Definition Classes
    GenJSCode
  53. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  54. def needsModuleClassSuffix(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink
    Definition Classes
    JSEncoding
  55. def newPhase(p: Phase): StdPhase

    Permalink
    Definition Classes
    GenJSCode → SubComponent
  56. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  58. def originalNameOfClass(sym: scala.tools.nsc.Global.Symbol): OriginalName

    Permalink
    Definition Classes
    JSEncoding
  59. def originalNameOfField(sym: scala.tools.nsc.Global.Symbol): OriginalName

    Permalink
    Definition Classes
    JSEncoding
  60. def originalNameOfLocal(sym: scala.tools.nsc.Global.Symbol): OriginalName

    Permalink
    Definition Classes
    JSEncoding
  61. def originalNameOfMethod(sym: scala.tools.nsc.Global.Symbol): OriginalName

    Permalink
    Definition Classes
    JSEncoding
  62. def ownPhase: Phase

    Permalink
    Definition Classes
    SubComponent
  63. val phaseName: String

    Permalink
    Definition Classes
    GenJSCode → SubComponent
  64. def phaseNewFlags: Long

    Permalink
    Definition Classes
    SubComponent
  65. def phaseNextFlags: Long

    Permalink
    Definition Classes
    SubComponent
  66. implicit def pos2irPos(pos: scala.tools.nsc.Global.Position): Position

    Permalink

    Implicit conversion from nsc Position to ir.Position.

    Implicit conversion from nsc Position to ir.Position.

    Definition Classes
    GenJSCode
  67. val requires: List[String]

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

    Permalink
    Definition Classes
    JSEncoding
  69. val runsAfter: List[String]

    Permalink
    Definition Classes
    GenCodeComponent → SubComponent
  70. val runsBefore: List[String]

    Permalink
    Definition Classes
    GenCodeComponent → SubComponent
  71. val runsRightAfter: Option[String]

    Permalink
    Definition Classes
    PluginComponent → SubComponent
  72. val scalaJSOpts: ScalaJSPlugin.scalaJSOpts.type

    Permalink

    Not for use in the constructor body: only initialized afterwards.

    Not for use in the constructor body: only initialized afterwards.

    Definition Classes
    GenCodeComponentGenJSCode
  73. lazy val scalaUsesImplClasses: Boolean

    Permalink
    Definition Classes
    CompatComponent
  74. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  75. val terminal: Boolean

    Permalink
    Definition Classes
    SubComponent
  76. def toIRType(t: scala.tools.nsc.Global.Type): Type

    Permalink
    Definition Classes
    TypeConversions
  77. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  78. def toTypeRef(t: scala.tools.nsc.Global.Type): TypeRef

    Permalink
    Definition Classes
    TypeConversions
  79. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    JSEncoding
  83. def withNewReturnableScope(tpe: Type)(body: ⇒ Tree)(implicit pos: Position): Tree

    Permalink
    Definition Classes
    JSEncoding

Inherited from GenJSCode[ScalaJSPlugin.global.type]

Inherited from CompatComponent

Inherited from GenJSFiles[ScalaJSPlugin.global.type]

Inherited from GenJSExports[ScalaJSPlugin.global.type]

Inherited from JSEncoding[ScalaJSPlugin.global.type]

Inherited from TypeConversions[ScalaJSPlugin.global.type]

Inherited from PluginComponent

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped