org.scalajs.nscplugin.ScalaJSPlugin

GenCodeComponent

Related Doc: package ScalaJSPlugin

object GenCodeComponent extends GenJSCode

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenCodeComponent
  2. GenJSCode
  3. CompatComponent
  4. GenJSFiles
  5. GenJSExports
  6. JSEncoding
  7. TypeKinds
  8. PluginComponent
  9. SubComponent
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ARRAY extends GenJSCode.TypeKind with Product with Serializable

    An array

    An array

    Definition Classes
    TypeKinds
  2. case class FLOAT extends GenJSCode.ValueTypeKind with Product with Serializable

    Floating-point number (Float or Double).

    Floating-point number (Float or Double).

    Definition Classes
    TypeKinds
  3. implicit final class GlobalCompat extends AnyRef

    Definition Classes
    CompatComponent
  4. case class INT extends GenJSCode.ValueTypeKind with Product with Serializable

    Integer number (Byte, Short, Char or Int).

    Integer number (Byte, Short, Char or Int).

    Definition Classes
    TypeKinds
  5. class JSCodePhase extends StdPhase with JSExportsPhase

    Definition Classes
    GenJSCode
  6. trait JSExportsPhase extends AnyRef

    Definition Classes
    GenJSExports
  7. sealed abstract class MaybeGlobalScope extends AnyRef

    Definition Classes
    GenJSCode
  8. case class REFERENCE extends GenJSCode.TypeKindButArray with Product with Serializable

    An object

    An object

    Definition Classes
    TypeKinds
  9. type SAMFunctionCompat = SAMFunction

    Definition Classes
    CompatComponent
  10. implicit final class SAMFunctionCompatOps extends AnyRef

    Definition Classes
    CompatComponent
  11. abstract class StdPhase extends GlobalPhase

    Definition Classes
    SubComponent
  12. implicit final class StdTermNamesCompat extends AnyRef

    Definition Classes
    CompatComponent
  13. implicit final class StdTypeNamesCompat extends AnyRef

    Definition Classes
    CompatComponent
  14. implicit final class SymbolCompat extends AnyRef

    Definition Classes
    CompatComponent
  15. sealed abstract class TypeKind extends AnyRef

    Glue representation of types as seen from the IR but still with a reference to the Symbols.

    Glue representation of types as seen from the IR but still with a reference to the Symbols.

    Definition Classes
    TypeKinds
  16. sealed abstract class TypeKindButArray extends GenJSCode.TypeKind

    Definition Classes
    TypeKinds
  17. sealed abstract class ValueTypeKind extends GenJSCode.TypeKindButArray

    Definition Classes
    TypeKinds

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. object BOOL extends GenJSCode.ValueTypeKind with Product with Serializable

    Boolean

    Boolean

    Definition Classes
    TypeKinds
  5. lazy val BooleanKind: BOOL.type

    Definition Classes
    TypeKinds
  6. lazy val ByteKind: INT

    Definition Classes
    TypeKinds
  7. lazy val CharKind: INT

    Definition Classes
    TypeKinds
  8. lazy val DoubleKind: FLOAT

    Definition Classes
    TypeKinds
  9. lazy val FloatKind: FLOAT

    Definition Classes
    TypeKinds
  10. final val InnerSep: String("_")

    Inner separator character (replace dots in full names)

    Inner separator character (replace dots in full names)

    Definition Classes
    JSEncoding
  11. lazy val IntKind: INT

    Definition Classes
    TypeKinds
  12. final val JSSuperClassParamName: String("$superClass")

    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 the current local name scope was created with withNewLocalNameScopeUsingJSSuperClassParamName. Otherwise, this name can clash with another local identifier.

    Definition Classes
    JSEncoding
  13. object LONG extends GenJSCode.ValueTypeKind with Product with Serializable

    Long

    Long

    Definition Classes
    TypeKinds
  14. lazy val LongKind: LONG.type

    Definition Classes
    TypeKinds
  15. object LowPrioGenBCodeCompat

    Definition Classes
    CompatComponent
  16. object MaybeGlobalScope

    Definition Classes
    GenJSCode
  17. object NOTHING extends GenJSCode.TypeKindButArray with Product with Serializable

    Nothing

    Nothing

    Definition Classes
    TypeKinds
  18. object NULL extends GenJSCode.TypeKindButArray with Product with Serializable

    Null

    Null

    Definition Classes
    TypeKinds
  19. lazy val ObjectReference: REFERENCE

    Definition Classes
    TypeKinds
  20. final val OuterSep: String("__")

    Outer separator string (between parameter types)

    Outer separator string (between parameter types)

    Definition Classes
    JSEncoding
  21. object SAMFunctionAttachCompat

    Definition Classes
    CompatComponent
  22. object SAMFunctionAttachCompatDef

    Definition Classes
    CompatComponent
  23. lazy val SAMFunctionCompat: SAMFunction.type

    Definition Classes
    CompatComponent
  24. final val ScalaJSEnvironmentName: String("ScalaJS")

    Name given to the local Scala.js environment variable

    Name given to the local Scala.js environment variable

    Definition Classes
    JSEncoding
  25. lazy val ShortKind: INT

    Definition Classes
    TypeKinds
  26. object UndefinedParam extends Value with Product with Serializable

    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
  27. object VOID extends GenJSCode.TypeKindButArray with Product with Serializable

    The void, for trees that can only appear in statement position.

    The void, for trees that can only appear in statement position.

    Definition Classes
    TypeKinds
  28. lazy val VoidKind: VOID.type

    Definition Classes
    TypeKinds
  29. final def afterOwnPhase[T](op: ⇒ T): T

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final val dceExportName: String("<exported>")

    Name given to all exported stuff of a class for DCE

    Name given to all exported stuff of a class for DCE

    Definition Classes
    JSEncoding
  34. val description: String

    Definition Classes
    GenJSCode → PluginComponent
  35. def enabled: Boolean

    Definition Classes
    SubComponent
  36. def encodeClassFullName(sym: scala.tools.nsc.Global.Symbol): String

    Definition Classes
    JSEncoding
  37. def encodeClassFullNameIdent(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): Ident

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

    Definition Classes
    JSEncoding
  39. def encodeComputedNameIdentity(sym: scala.tools.nsc.Global.Symbol): String

    Definition Classes
    JSEncoding
  40. def encodeFieldSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): Ident

    Definition Classes
    JSEncoding
  41. def encodeLabelSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): Ident

    Definition Classes
    JSEncoding
  42. def encodeLocalSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): Ident

    Definition Classes
    JSEncoding
  43. def encodeMethodName(sym: scala.tools.nsc.Global.Symbol, reflProxy: Boolean = false): String

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

    Definition Classes
    JSEncoding
  45. def encodeStaticMemberSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): Ident

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  49. def foreignIsImplClass(sym: scala.tools.nsc.Global.Symbol): Boolean

    Definition Classes
    JSEncoding
  50. def freshLocalIdent(base: String)(implicit pos: Position): Ident

    Definition Classes
    JSEncoding
  51. def freshLocalIdent()(implicit pos: Position): Ident

    Definition Classes
    JSEncoding
  52. def genIRFile(cunit: scala.tools.nsc.Global.CompilationUnit, sym: scala.tools.nsc.Global.Symbol, suffix: Option[String], tree: ClassDef): Unit

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

    testing: this will be called when ASTs are generated

    testing: this will be called when ASTs are generated

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

    Definition Classes
    AnyRef → Any
  55. def getEnclosingReturnLabel()(implicit pos: Position): Ident

    Definition Classes
    JSEncoding
  56. val global: ScalaJSPlugin.global.type

    Definition Classes
    GenCodeComponentCompatComponent → SubComponent
  57. def hashCode(): Int

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

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

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

    Definition Classes
    GenJSCode
  59. val initial: Boolean

    Definition Classes
    SubComponent
  60. def initializeCoreBTypesCompat(): Unit

    Definition Classes
    CompatComponent
  61. final val internal: Boolean(false)

    Definition Classes
    PluginComponent → SubComponent
  62. def isAnonJSClass(sym: scala.tools.nsc.Global.Symbol): Boolean

    Definition Classes
    GenJSCode
  63. lazy val isHijackedClass: Set[scala.tools.nsc.Global.Symbol]

    Attributes
    protected
    Definition Classes
    GenJSCode
  64. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

    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
  69. def isStaticModule(sym: scala.tools.nsc.Global.Symbol): Boolean

    Definition Classes
    GenJSCode
  70. val jsAddons: ScalaJSPlugin.jsAddons.type

    Definition Classes
    GenCodeComponentGenJSCode
  71. object jsnme

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

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

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

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

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

    Definition Classes
    AnyRef
  77. def ownPhase: Phase

    Definition Classes
    SubComponent
  78. val phaseName: String

    Definition Classes
    GenJSCode → SubComponent
  79. def phaseNewFlags: Long

    Definition Classes
    SubComponent
  80. def phaseNextFlags: Long

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

    Implicit conversion from nsc Position to ir.Position.

    Implicit conversion from nsc Position to ir.Position.

    Definition Classes
    GenJSCode
  82. lazy val primitiveTypeMap: Map[scala.tools.nsc.Global.Symbol, TypeKind]

    TypeKinds for Scala primitive types.

    TypeKinds for Scala primitive types.

    Definition Classes
    TypeKinds
  83. val requires: List[String]

    Definition Classes
    SubComponent
  84. def reserveLocalName(name: String): Unit

    Definition Classes
    JSEncoding
  85. val runsAfter: List[String]

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

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

    Definition Classes
    PluginComponent → SubComponent
  88. val scalaJSOpts: ScalaJSPlugin.scalaJSOpts.type

    Definition Classes
    GenCodeComponentGenJSCode
  89. lazy val scalaUsesImplClasses: Boolean

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

    Definition Classes
    AnyRef
  91. val terminal: Boolean

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

    Definition Classes
    TypeKinds
  93. def toString(): String

    Definition Classes
    AnyRef → Any
  94. def toTypeKind(t: scala.tools.nsc.Global.Type): TypeKind

    Return the TypeKind of the given type

    Return the TypeKind of the given type

    Call to .normalize fixes #3003 (follow type aliases). Otherwise, arrayOrClassType below would return ObjectReference.

    Definition Classes
    TypeKinds
  95. def toTypeRef(t: scala.tools.nsc.Global.Type): TypeRef

    Definition Classes
    TypeKinds
  96. final def wait(): Unit

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

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

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

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

    Definition Classes
    JSEncoding

Inherited from GenJSCode

Inherited from CompatComponent

Inherited from GenJSFiles

Inherited from GenJSExports

Inherited from JSEncoding

Inherited from TypeKinds

Inherited from PluginComponent

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped