Top

scala.scalanative.nir.Global$.Top
final case class Top(id: String) extends Global

A top-level symbol.

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

Attributes

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

Members list

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

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