Object

org.scalajs.core.compiler.ScalaJSPlugin

GenCodeComponent

Related Doc: package ScalaJSPlugin

Permalink

object GenCodeComponent extends GenJSCode

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

Type Members

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

    Permalink

    An array

    An array

    Definition Classes
    TypeKinds
  2. implicit final class ErasedValueTypeCompat extends AnyRef

    Permalink
    Definition Classes
    Compat210Component
  3. case class FLOAT extends GenJSCode.ValueTypeKind with Product with Serializable

    Permalink

    Floating-point number (Float or Double).

    Floating-point number (Float or Double).

    Definition Classes
    TypeKinds
  4. implicit final class GlobalCompat extends AnyRef

    Permalink
    Definition Classes
    Compat210Component
  5. case class INT extends GenJSCode.ValueTypeKind with Product with Serializable

    Permalink

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

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

    Definition Classes
    TypeKinds
  6. class JSCodePhase extends StdPhase with JSExportsPhase

    Permalink
    Definition Classes
    GenJSCode
  7. trait JSExportsPhase extends AnyRef

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

    Permalink

    An object

    An object

    Definition Classes
    TypeKinds
  9. implicit final class RunCompat extends AnyRef

    Permalink
    Definition Classes
    Compat210Component
  10. abstract class StdPhase extends GlobalPhase

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

    Permalink
    Definition Classes
    Compat210Component
  12. sealed abstract class TypeKind extends AnyRef

    Permalink

    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
  13. sealed abstract class TypeKindButArray extends GenJSCode.TypeKind

    Permalink
    Definition Classes
    TypeKinds
  14. sealed abstract class ValueTypeKind extends GenJSCode.TypeKindButArray

    Permalink
    Definition Classes
    TypeKinds

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

    Permalink

    Boolean

    Boolean

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

    Permalink
    Definition Classes
    TypeKinds
  6. lazy val ByteKind: INT

    Permalink
    Definition Classes
    TypeKinds
  7. lazy val CharKind: INT

    Permalink
    Definition Classes
    TypeKinds
  8. object DelambdafyCompat

    Permalink
    Definition Classes
    Compat210Component
  9. lazy val DoubleKind: FLOAT

    Permalink
    Definition Classes
    TypeKinds
  10. lazy val FloatKind: FLOAT

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

    Permalink

    Inner separator character (replace dots in full names)

    Inner separator character (replace dots in full names)

    Definition Classes
    JSEncoding
  12. lazy val IntKind: INT

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

    Permalink

    Long

    Long

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

    Permalink
    Definition Classes
    TypeKinds
  15. object Mode

    Permalink
    Definition Classes
    Compat210Component
  16. object NOTHING extends GenJSCode.TypeKindButArray with Product with Serializable

    Permalink

    Nothing

    Nothing

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

    Permalink

    Null

    Null

    Definition Classes
    TypeKinds
  18. lazy val ObjectReference: REFERENCE

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

    Permalink

    Outer separator string (between parameter types)

    Outer separator string (between parameter types)

    Definition Classes
    JSEncoding
  20. final val ScalaJSEnvironmentName: String("ScalaJS")

    Permalink

    Name given to the local Scala.js environment variable

    Name given to the local Scala.js environment variable

    Definition Classes
    JSEncoding
  21. lazy val ShortKind: INT

    Permalink
    Definition Classes
    TypeKinds
  22. object VOID extends GenJSCode.TypeKindButArray with Product with Serializable

    Permalink

    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
  23. lazy val VoidKind: VOID.type

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

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

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

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

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

    Permalink

    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
  29. def description: String

    Permalink
    Definition Classes
    PluginComponent
  30. def enabled: Boolean

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    JSEncoding
  39. def encodeRTStringMethodSym(sym: scala.tools.nsc.Global.Symbol)(implicit pos: scala.tools.nsc.Global.Position): (scala.tools.nsc.Global.Symbol, Ident)

    Permalink

    Encodes a method symbol of java.lang.String for use in RuntimeString.

    Encodes a method symbol of java.lang.String for use in RuntimeString.

    This basically means adding an initial parameter of type java.lang.String, which is the this parameter.

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

    Permalink
    Definition Classes
    JSEncoding
  41. final def enteringPhase[T](ph: Phase)(op: ⇒ T): T

    Permalink
    Definition Classes
    Compat210Component
    Annotations
    @inline()
  42. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. final def exitingPhase[T](ph: Phase)(op: ⇒ T): T

    Permalink
    Definition Classes
    Compat210Component
    Annotations
    @inline()
  45. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    JSEncoding
  49. def genIRFile(cunit: scala.tools.nsc.Global.CompilationUnit, sym: scala.tools.nsc.Global.Symbol, tree: ClassDef, classInfo: ClassInfo): Unit

    Permalink
    Definition Classes
    GenJSFiles
  50. def generatedJSAST(clDefs: List[Tree]): Unit

    Permalink

    testing: this will be called when ASTs are generated

    testing: this will be called when ASTs are generated

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

    Permalink
    Definition Classes
    AnyRef → Any
  52. val global: ScalaJSPlugin.global.type

    Permalink
    Definition Classes
    GenCodeComponentCompat210Component → SubComponent
  53. def hashCode(): Int

    Permalink
    Definition Classes
    SubComponent → AnyRef → Any
  54. 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
  55. val initial: Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  59. def isRawJSType(tpe: scala.tools.nsc.Global.Type): Boolean

    Permalink

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

    Permalink

    Tests whether the given class is a Scala.js-defined JS class.

    Tests whether the given class is a Scala.js-defined JS class.

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

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

    Permalink
    Definition Classes
    GenCodeComponentGenJSCode
  63. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  68. def ownPhase: Phase

    Permalink
    Definition Classes
    SubComponent
  69. val phaseName: String

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

    Permalink
    Definition Classes
    SubComponent
  71. def phaseNextFlags: Long

    Permalink
    Definition Classes
    SubComponent
  72. 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
  73. lazy val primitiveTypeMap: Map[scala.tools.nsc.Global.Symbol, TypeKind]

    Permalink

    TypeKinds for Scala primitive types.

    TypeKinds for Scala primitive types.

    Definition Classes
    TypeKinds
  74. final def repeatedToSingle(t: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type

    Permalink
    Definition Classes
    Compat210Component
    Annotations
    @inline()
  75. val requires: List[String]

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

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

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

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

    Permalink
    Definition Classes
    GenCodeComponentGenJSCode
  80. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  81. val terminal: Boolean

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

    Permalink
    Definition Classes
    TypeKinds
  83. def toReferenceType(t: scala.tools.nsc.Global.Type): ReferenceType

    Permalink
    Definition Classes
    TypeKinds
  84. def toString(): String

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

    Permalink

    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
  86. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    JSEncoding

Inherited from GenJSCode

Inherited from Compat210Component

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