Flags

object Flags
class Object
trait Matchable
class Any

Type members

Classlikes

object opaques

Types

type Flag = Flag
final type FlagSet >: FlagSet <: FlagSet

Value members

Concrete methods

def and(x1: FlagSet, x2: FlagSet): FlagSet
def commonFlags(flagss: FlagSet*): FlagSet
def or(x1: FlagSet, x2: FlagSet): FlagSet
def union(flagss: FlagSet*): FlagSet

The union of all flags in given flag set

The union of all flags in given flag set

Concrete fields

Flags representing access rights

Flags representing access rights

Accessors always have these flags set

Accessors always have these flags set

Flags that are not (re)set when completing the denotation, or, if symbol is a top-level class or object, when completing the denotation once the class file defining the symbol is loaded (which is generally before the denotation is completed)

Flags that are not (re)set when completing the denotation, or, if symbol is a top-level class or object, when completing the denotation once the class file defining the symbol is loaded (which is generally before the denotation is completed)

All possible flags

All possible flags

val Bridge: Flag
val Case: Flag

Flags that apply only to classes

Flags that apply only to classes

The flags of a class type parameter

The flags of a class type parameter

The empty flag set

The empty flag set

val Enum: Flag
val Erased: Flag
val Final: Flag

Flags that are not (re)set when completing the denotation TODO: Should check that FromStartFlags do not change in completion

Flags that are not (re)set when completing the denotation TODO: Should check that FromStartFlags do not change in completion

val Given: Flag
val Infix: Flag
val Inline: Flag
val Label: Flag
val Lazy: Flag
val Lifted: Flag
val Local: Flag
val Macro: Flag
val Method: Flag

Flags representing modifiers that can appear in trees

Flags representing modifiers that can appear in trees

val Module: Flag

Module classes always have these flags set

Module classes always have these flags set

Modules always have these flags set

Modules always have these flags set

val Opaque: Flag
val Open: Flag

Packages and package classes always have these flags set

Packages and package classes always have these flags set

val Param: Flag

These flags are pickled

These flags are pickled

Pure interfaces always have these flags

Pure interfaces always have these flags

Flags retained in export forwarders

Flags retained in export forwarders

Flags that can apply to a module class

Flags that can apply to a module class

Flags that can apply to both a module val and a module class, except those that are added at creation anyway

Flags that can apply to both a module val and a module class, except those that are added at creation anyway

Flags that can apply to a module val

Flags that can apply to a module val

Flags that are passed from a type parameter of a class to a refinement symbol that sets the type parameter

Flags that are passed from a type parameter of a class to a refinement symbol that sets the type parameter

val Sealed: Flag

The flags of the self symbol

The flags of the self symbol

val Trait: Flag

The undefined flag set

The undefined flag set

A value that's unstable unless complemented with a Stable flag

A value that's unstable unless complemented with a Stable flag

Flags that express the variance of a type parameter.

Flags that express the variance of a type parameter.

val __: Flag

Extensions

Extensions

extension (x: FlagSet)
def &(y: FlagSet): FlagSet

The intersection of the given flag sets

The intersection of the given flag sets

def &~(y: FlagSet): FlagSet

The intersection of a flag set with the complement of another flag set

The intersection of a flag set with the complement of another flag set

def <=(y: FlagSet): Boolean

Is a given flag set a subset of another flag set?

Is a given flag set a subset of another flag set?

def ^(y: FlagSet): FlagSet
inline def bits: Long

The lowest non-kind bit set in the given flag set

The lowest non-kind bit set in the given flag set

def flagStrings(privateWithin: String): Seq[String]

The list of non-empty names of flags that are set in the given flag set

The list of non-empty names of flags that are set in the given flag set

The string representation of the given flag set

The string representation of the given flag set

def is(flag: Flag): Boolean

Does the given flag set contain the given flag? This means that both the kind flags and the carrier bits have non-empty intersection.

Does the given flag set contain the given flag? This means that both the kind flags and the carrier bits have non-empty intersection.

def is(flag: Flag, butNot: FlagSet): Boolean

Does the given flag set contain the given flag and at the same time contain none of the flags in the butNot set?

Does the given flag set contain the given flag and at the same time contain none of the flags in the butNot set?

def isAllOf(flags: FlagSet): Boolean

Does a given flag set have all of the flags of another flag set? Pre: The intersection of the term/type flags of both sets must be non-empty.

Does a given flag set have all of the flags of another flag set? Pre: The intersection of the term/type flags of both sets must be non-empty.

def isAllOf(flags: FlagSet, butNot: FlagSet): Boolean

Does a given flag set have all of the flags in another flag set and at the same time contain none of the flags in the butNot set? Pre: The intersection of the term/type flags of both sets must be non-empty.

Does a given flag set have all of the flags in another flag set and at the same time contain none of the flags in the butNot set? Pre: The intersection of the term/type flags of both sets must be non-empty.

def isOneOf(flags: FlagSet): Boolean

Does the given flag set have a non-empty intersection with another flag set? This means that both the kind flags and the carrier bits have non-empty intersection.

Does the given flag set have a non-empty intersection with another flag set? This means that both the kind flags and the carrier bits have non-empty intersection.

def isOneOf(flags: FlagSet, butNot: FlagSet): Boolean

Does the given flag set have a non-empty intersection with another flag set, and at the same time contain none of the flags in the butNot set?

Does the given flag set have a non-empty intersection with another flag set, and at the same time contain none of the flags in the butNot set?

Does the given flag set apply to terms?

Does the given flag set apply to terms?

Does the given flag set apply to terms?

Does the given flag set apply to terms?

The number of non-kind flags in the given flag set

The number of non-kind flags in the given flag set

The given flag set with all flags transposed to be common flags

The given flag set with all flags transposed to be common flags

The given flag set with all flags transposed to be term flags

The given flag set with all flags transposed to be term flags

The given flag set with all flags transposed to be type flags

The given flag set with all flags transposed to be type flags

def |(y: FlagSet): FlagSet

The union of the given flag sets. Combining two FlagSets with | will give a FlagSet that has the intersection of the applicability to terms/types of the two flag sets. It is checked that the intersection is not empty.

The union of the given flag sets. Combining two FlagSets with | will give a FlagSet that has the intersection of the applicability to terms/types of the two flag sets. It is checked that the intersection is not empty.

Exports

Defined exports

final def FlagSet(bits: Long): FlagSet
Exported from opaques.FlagSet