PrimTypeWithRef

dotty.tools.sjs.ir.Types.PrimTypeWithRef
sealed abstract class PrimTypeWithRef(primRefCharCode: Char, primRefDisplayName: String) extends PrimType

Attributes

Graph
Supertypes
class PrimType
class Type
class Object
trait Matchable
class Any
Known subtypes
object BooleanType
object ByteType
object CharType
object DoubleType
object FloatType
object IntType
object LongType
object NothingType
object NullType
object ShortType
object VoidType
Show all

Members list

Value members

Inherited methods

Is null an admissible value of this type?

Is null an admissible value of this type?

Attributes

Inherited from:
Type
def show(): String

Attributes

Inherited from:
Type
final def toNonNullable: PrimType

A type that accepts the same values as this type except null, unless this type is VoidType.

A type that accepts the same values as this type except null, unless this type is VoidType.

If this is VoidType, returns this type.

For all other types tpe, tpe.toNonNullable.isNullable is false.

Attributes

Inherited from:
PrimType

Concrete fields