Declare

scala.scalanative.nir.Defn$.Declare
final case class Declare(attrs: Attrs, name: Member, ty: Function)(implicit pos: SourcePosition) extends Defn

A method declaration.

Methods of abstract classes and traits can be declared without a definition and are resolved at runtime through dynamic dispatch.

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