object Transients
- Alphabetic
- By Inheritance
- Transients
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
ArrayToTypedArray(expr: Tree, primRef: PrimRef) extends Value with Product with Serializable
Copies a primitive
Array
into a new appropriateTypedArray
.Copies a primitive
Array
into a new appropriateTypedArray
.This node accepts
null
values forexpr
. Its implementation takes care of throwingNullPointerException
s as required. -
final
case class
Cast(expr: Tree, tpe: Type) extends Value with Product with Serializable
Casts
expr
to the giventpe
, without any check.Casts
expr
to the giventpe
, without any check.This operation is only valid if we know that
expr
is indeed a value of the giventpe
.Cast
behaves like an uncheckedAsInstanceOf
, except that it does not convertnull
to the zero of primitive types. Attempting to castnull
to a primitive type (that is notNullType
) is undefined behavior.Cast
is not always a no-op. In some cases, aCast
may still have to be implemented using a conversion. For example, casting down fromjl.Character
tochar
requires to extract the primitive value from the box (although we know that the box is non-null, unlike withAsInstanceOf
). -
final
case class
NativeArrayWrapper(elemClass: Tree, nativeArray: Tree)(tpe: Type) extends Value with Product with Serializable
Intrinsic for the private method
ArrayBuilder.generic.genericArrayBuilderResult
.Intrinsic for the private method
ArrayBuilder.generic.genericArrayBuilderResult
.This node *assumes* that
elemClass
is non-null. It is the responsibility of whoever creates aNativeArrayWrapper
to wrap that parameter withCheckNotNull
s if necessary. -
final
case class
ObjectClassName(obj: Tree) extends Value with Product with Serializable
Intrinsic for
obj.getClass().getName()
.Intrinsic for
obj.getClass().getName()
.This node accepts any value for
obj
, includingnull
. Its implementation takes care of throwingNullPointerException
s as required. -
final
case class
SystemArrayCopy(src: Tree, srcPos: Tree, dest: Tree, destPos: Tree, length: Tree) extends Value with Product with Serializable
Intrinsic for
System.arraycopy
.Intrinsic for
System.arraycopy
.This node *assumes* that
src
anddest
are non-null. It is the responsibility of whoever creates aSystemArrayCopy
to wrap those parameters withCheckNotNull
s if necessary. -
final
case class
TypedArrayToArray(expr: Tree, primRef: PrimRef) extends Value with Product with Serializable
Copies a
TypedArray
into a newArray
of the specified type.Copies a
TypedArray
into a newArray
of the specified type.Invalid values of
expr
will causeTypeError
s or other JavaScript exceptions, in an implementation-dependent way. It does not protect itself against values forged to look like typed arrays without being actual typed arrays. -
final
case class
ZeroOf(runtimeClass: Tree) extends Value with Product with Serializable
Intrinsic for the private method
ArrayBuilder.generic.zeroOf
.Intrinsic for the private method
ArrayBuilder.generic.zeroOf
.This node *assumes* that
runtimeClass
is non-null. It is the responsibility of whoever creates aZeroOf
to wrap that parameter withCheckNotNull
s if necessary.
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
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()