org.scalajs.core.tools.optimizer

LinkedClass

Related Docs: object LinkedClass | package optimizer

final class LinkedClass extends AnyRef

A ClassDef after linking.

Note that the version in the LinkedClass does not cover staticMethods, memberMethods, abstractMethods and exportedMembers as they have their individual versions. (The collections themselves are not versioned).

Moreover, the version is relative to the identity of a LinkedClass. The definition of identity varies as linked classes progress through the linking pipeline, but it only gets stronger, i.e., if two linked classes are id-different at phase P, then they must also be id-different at phase P+1. The converse is not true. This guarantees that versions can be used reliably to determine at phase P+1 whether a linked class coming from phase P must be reprocessed.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LinkedClass
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LinkedClass(name: Ident, kind: ClassKind, superClass: Option[Ident], interfaces: List[Ident], jsName: Option[String], fields: List[FieldDef], staticMethods: List[LinkedMember[MethodDef]], memberMethods: List[LinkedMember[MethodDef]], abstractMethods: List[LinkedMember[MethodDef]], exportedMembers: List[LinkedMember[Tree]], classExports: List[Tree], classExportInfo: Option[MethodInfo], optimizerHints: OptimizerHints, pos: Position, ancestors: List[String], hasInstances: Boolean, hasInstanceTests: Boolean, hasRuntimeTypeInfo: Boolean, version: Option[String])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val abstractMethods: List[LinkedMember[MethodDef]]

  5. val ancestors: List[String]

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val classExportInfo: Option[MethodInfo]

  8. val classExports: List[Tree]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def copy(name: Ident = this.name, kind: ClassKind = this.kind, superClass: Option[Ident] = this.superClass, interfaces: List[Ident] = this.interfaces, jsName: Option[String] = this.jsName, fields: List[FieldDef] = this.fields, staticMethods: List[LinkedMember[MethodDef]] = this.staticMethods, memberMethods: List[LinkedMember[MethodDef]] = this.memberMethods, abstractMethods: List[LinkedMember[MethodDef]] = this.abstractMethods, exportedMembers: List[LinkedMember[Tree]] = this.exportedMembers, classExports: List[Tree] = this.classExports, classExportInfo: Option[MethodInfo] = this.classExportInfo, optimizerHints: OptimizerHints = this.optimizerHints, pos: Position = this.pos, ancestors: List[String] = this.ancestors, hasInstances: Boolean = this.hasInstances, hasInstanceTests: Boolean = this.hasInstanceTests, hasRuntimeTypeInfo: Boolean = this.hasRuntimeTypeInfo, version: Option[String] = this.version): LinkedClass

  11. def encodedName: String

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. val exportedMembers: List[LinkedMember[Tree]]

  15. val fields: List[FieldDef]

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fullName: String

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. val hasInstanceTests: Boolean

  20. val hasInstances: Boolean

  21. val hasRuntimeTypeInfo: Boolean

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. val interfaces: List[Ident]

  24. def isExported: Boolean

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. val jsName: Option[String]

  27. val kind: ClassKind

  28. val memberMethods: List[LinkedMember[MethodDef]]

  29. val name: Ident

  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. val optimizerHints: OptimizerHints

  34. val pos: Position

  35. val staticMethods: List[LinkedMember[MethodDef]]

  36. val superClass: Option[Ident]

  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toInfo: ClassInfo

  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. val version: Option[String]

  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped