Trait

final case class Trait(attrs: Attrs, name: Top, traits: Seq[Top])(implicit pos: SourcePosition) extends Defn

The NIR representation of a Scala trait.

trait Product
trait Equals
class Defn
class Object
trait Matchable
class Any

Value members

Inherited methods

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.

Inherited from:
Defn
Inherited from:
Product
final def show: String

Returns a textual representation of this.

Returns a textual representation of this.

Inherited from:
Defn

Implicits

Implicits

implicit val pos: SourcePosition