Global

scala.scalanative.nir.Global
See theGlobal companion class
object Global

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Global.type

Members list

Type members

Classlikes

final case class Member(owner: Top, sig: Sig) extends Global

A member of some top-level symbol having its own signature.

A member of some top-level symbol having its own signature.

Member symbols describe methods and fields, including duplicates generated by interflow. A can only be described based on their "owner" symbol, which is always Global.Top; members shall not have other members.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Global
class Object
trait Matchable
class Any
Show all
case object None extends Global

A stub to introduce nulls.

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

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
final case class Top(id: String) extends Global

A top-level symbol.

A top-level symbol.

Top-level symbols describe types (i.e., classes and traits). Note that type aliases are not preserved in NIR.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Global
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Implicits

Implicits

implicit val globalOrdering: Ordering[Global]

The order between global symbols.

The order between global symbols.

Attributes