object Defn
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Defn
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Class(attrs: Attrs, name: Top, parent: Option[Top], traits: Seq[Top])(implicit pos: SourcePosition) extends Defn with Product with Serializable
The NIR representation of a Scala class.
- final case class Const(attrs: Attrs, name: Member, ty: Type, rhs: Val)(implicit pos: SourcePosition) extends Defn with Product with Serializable
A unique, read-only instance of some type.
A unique, read-only instance of some type.
A constant definition is distinct from a constant literal, which would be represented by a
Val
. - final case class Declare(attrs: Attrs, name: Member, ty: Type.Function)(implicit pos: SourcePosition) extends Defn with Product with Serializable
A method declaration.
A method declaration.
Methods of abstract classes and traits can be declared without a definition and are resolved at runtime through dynamic dispatch.
- final case class Define(attrs: Attrs, name: Member, ty: Type.Function, insts: Seq[Inst], debugInfo: DebugInfo = Define.DebugInfo.empty)(implicit pos: SourcePosition) extends Defn with Product with Serializable
A method definition.
- final case class Module(attrs: Attrs, name: Top, parent: Option[Top], traits: Seq[Top])(implicit pos: SourcePosition) extends Defn with Product with Serializable
The NIR representation of a Scala module.
- final case class Trait(attrs: Attrs, name: Top, traits: Seq[Top])(implicit pos: SourcePosition) extends Defn with Product with Serializable
The NIR representation of a Scala trait.
- final case class Var(attrs: Attrs, name: Member, ty: Type, rhs: Val)(implicit pos: SourcePosition) extends Defn with Product with Serializable
A variable definition corresponding to either a field in class or module, or to a top-level global variable.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): java.lang.Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Define extends java.io.Serializable