Module

scala.scalanative.nir.Defn.Module
final case class Module(attrs: Attrs, name: Top, parent: Option[Top], traits: Seq[Top])(implicit pos: SourcePosition) extends Defn

The NIR representation of a Scala module.

Attributes

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

Members list

Value members

Inherited methods

final def isEntryPoint: Boolean

Returns true iff this is considered as an entry point by reachability analysis.

Returns true iff this is considered as an entry point by reachability analysis.

Attributes

Inherited from:
Defn

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:
Defn

Implicits

Implicits

implicit val pos: SourcePosition

Returns the site in the program sources corresponding to the definition.

Returns the site in the program sources corresponding to the definition.

Attributes