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.

trait Product
trait Equals
class Global
class Object
trait Matchable
class Any

Value members

Concrete methods

override def member(sig: Sig): Member
Definition Classes
override def top: Top
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.

Inherited from:
Global
final def mangle: String

Returns the mangled representation of this.

Returns the mangled representation of this.

Inherited from:
Global

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.
Inherited from:
Global
Inherited from:
Product
final def show: String

Returns a textual representation of this.

Returns a textual representation of this.

Inherited from:
Global