dotty.tools.dotc.core.Periods$.Period
See thePeriod companion object final class Period(val code: Int) 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 17 bits
last phase id: 7 bits
#phases before last: 7 bits
// Dmitry: sign == 0 isn't actually always true, in some cases phaseId == -1 is used for shifts, that easily creates code < 0
Attributes
- Companion:
- object
- Graph
- Supertypes
class AnyVal
trait Matchable
class Any
Members list
Concise view
Value members
The intersection of two periods
The intersection of two periods
Attributes
Does this period contain given period?
Does this period contain given period?
Attributes
The first phase of this period
The first phase of this period
Attributes
The last phase of this period
The last phase of this period
Attributes
Does this period overlap with given period?
Does this period overlap with given period?
Attributes
The phase identifier of this single-phase period.
The phase identifier of this single-phase period.
Attributes
The run identifier of this period.
The run identifier of this period.
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
Any
The smallest period containing two periods
The smallest period containing two periods
Attributes