trait TypeKinds extends SubComponent
Glue representation of types as seen from the IR but still with a reference to the Symbols.
- Self Type
- GenJSCode
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- TypeKinds
- SubComponent
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
ARRAY extends GenJSCode.TypeKind with Product with Serializable
An array
-
case class
FLOAT extends GenJSCode.ValueTypeKind with Product with Serializable
Floating-point number (Float or Double).
-
case class
INT extends GenJSCode.ValueTypeKind with Product with Serializable
Integer number (Byte, Short, Char or Int).
-
case class
REFERENCE extends GenJSCode.TypeKindButArray with Product with Serializable
An object
-
abstract
class
StdPhase extends GlobalPhase
- Definition Classes
- SubComponent
-
sealed abstract
class
TypeKind extends AnyRef
Glue representation of types as seen from the IR but still with a reference to the Symbols.
- sealed abstract class TypeKindButArray extends GenJSCode.TypeKind
- sealed abstract class ValueTypeKind extends GenJSCode.TypeKindButArray
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
- lazy val BooleanKind: GenJSCode.BOOL.type
- lazy val ByteKind: GenJSCode.INT
- lazy val CharKind: GenJSCode.INT
- lazy val DoubleKind: GenJSCode.FLOAT
- lazy val FloatKind: GenJSCode.FLOAT
- lazy val IntKind: GenJSCode.INT
- lazy val LongKind: GenJSCode.LONG.type
- lazy val ObjectReference: GenJSCode.REFERENCE
- lazy val ShortKind: GenJSCode.INT
- lazy val VoidKind: GenJSCode.VOID.type
-
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
enabled: Boolean
- Definition Classes
- SubComponent
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
ownPhase: Phase
- Definition Classes
- SubComponent
-
def
phaseNewFlags: Long
- Definition Classes
- SubComponent
-
def
phaseNextFlags: Long
- Definition Classes
- SubComponent
-
lazy val
primitiveTypeMap: Map[scala.tools.nsc.Global.Symbol, GenJSCode.TypeKind]
TypeKinds for Scala primitive types.
-
val
requires: List[String]
- Definition Classes
- SubComponent
-
val
runsBefore: List[String]
- Definition Classes
- SubComponent
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
terminal: Boolean
- Definition Classes
- SubComponent
- def toIRType(t: scala.tools.nsc.Global.Type): Type
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toTypeKind(t: scala.tools.nsc.Global.Type): GenJSCode.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.
- def toTypeRef(t: scala.tools.nsc.Global.Type): TypeRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
object
BOOL extends GenJSCode.ValueTypeKind with Product with Serializable
Boolean
-
object
LONG extends GenJSCode.ValueTypeKind with Product with Serializable
Long
-
object
NOTHING extends GenJSCode.TypeKindButArray with Product with Serializable
Nothing
-
object
NULL extends GenJSCode.TypeKindButArray with Product with Serializable
Null
-
object
VOID extends GenJSCode.TypeKindButArray with Product with Serializable
The void, for trees that can only appear in statement position.