None

scala.scalanative.nir.Global$.None$
case object None extends Global

A stub to introduce nulls.

Instances of this class are never emitted from actual code. Instead, they can be used as intermediate placeholders during code generation or markers of erroneous code paths. In particular, they can be used to skip null checks.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Global
class Object
trait Matchable
class Any
Show all
Self type
None.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Concrete methods

override def member(sig: Sig): Member

Returns a member of this with the given signature.

Returns a member of this with the given signature.

  • Requires: this is a top-level symbol.

Attributes

Definition Classes
override def top: Top

Returns the owner of this.

Returns the owner of this.

Attributes

Definition Classes

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
final def isTop: Boolean

Returns true iff this is a top-level symbol.

Returns true iff this is a top-level symbol.

Attributes

Inherited from:
Global
final def mangle: String

Returns the mangled representation of this.

Returns the mangled representation of this.

Attributes

Inherited from:
Global
def member(sig: Unmangled): Member

Returns a member of this with the given signature.

Returns a member of this with the given signature.

  • Requires: this is a top-level symbol.

Attributes

Inherited from:
Global

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def show: String

Returns a textual representation of this.

Returns a textual representation of this.

Attributes

Inherited from:
Global