dotty.tools.dotc.core.Periods

Period

Related Docs: object Period | package Periods

final class Period extends AnyVal

A period is a contiguous sequence of phase ids in some run. It is coded as follows:

sign, always 0 1 bit runid 19 bits last phase id: 6 bits #phases before last: 6 bits

// Dmitry: sign == 0 isn't actually always true, in some cases phaseId == -1 is used for shifts, that easily creates code < 0

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

Instance Constructors

  1. new Period(code: Int)

Value Members

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

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

    Definition Classes
    Any
  3. def &(that: Period): Period

    The intersection of two periods

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val code: Int

  7. def contains(that: Period): Boolean

    Does this period contain given period?

  8. def containsPhaseId(id: PhaseId): Boolean

  9. def firstPhaseId: Int

    The first phase of this period

  10. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. def lastPhaseId: PhaseId

    The last phase of this period

  13. def overlaps(that: Period): Boolean

    Does this period overlap with given period?

  14. def phaseId: PhaseId

    The phase identifier of this single-phase period.

  15. def runId: RunId

    The run identifier of this period.

  16. def toString(): String

    Definition Classes
    Period → Any
  17. def |(that: Period): Period

Inherited from AnyVal

Inherited from Any

Ungrouped