Dotty Documentation

0.14.0-bin-SNAPSHOT

case class FlagConjunction
extends Object with Product with Serializable

A class representing flag sets that should be tested conjunctively. I.e. for a flag conjunction fc, x is fc tests whether x contains all flags in fc.

[-] Constructors

FlagConjunction ( bits: Long )
FlagConjunction ( bits: Long )

[-] Members

[+] val bits : Long
[+] def & ( that: FlagSet ) : FlagSet

The intersection of this flag set and the given flag set

[+] def &~ ( that: FlagSet ) : FlagSet

The intersection of this flag set with the complement of the given flag set

[+] def <= ( that: FlagSet ) : Boolean

Is this flag set a subset of that one?

[+] def ^ ( that: FlagSet ) : FlagSet
[+] def canEqual ( that: Any ) : Boolean
[+] def clone ( ) : Object
[+] def eq ( x$0: Object ) : Boolean
[+] def finalize ( ) : Unit
[+] def firstBit : Int

The lowest non-kind bit set in this flagset

[+] def flagStrings : Seq [ String ]

The list of non-empty names of flags that are set in this FlagSet

[+] def is ( flags: FlagConjunction , butNot: FlagSet ) : Boolean

Does this flag set have all of the flags in given flag conjunction? and at the same time contain none of the flags in the butNot set? Pre: The intersection of the typeflags of both sets must be non-empty.

[+] def is ( flags: FlagConjunction ) : Boolean

Does this flag set have all of the flags in given flag conjunction? Pre: The intersection of the typeflags of both sets must be non-empty.

[+] def is ( flags: FlagSet , butNot: FlagSet ) : Boolean

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

[+] def is ( flags: FlagSet ) : Boolean

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

[+] def isEmpty : Boolean
[+] def isTermFlags : Boolean

Does this flag set apply to terms?

[+] def isTypeFlags : Boolean

Does this flag set apply to terms?

[+] def ne ( x$0: Object ) : Boolean
[+] def notify ( ) : Unit
[+] def notifyAll ( ) : Unit
[+] def numFlags : Int

The number of non-kind flags in this set

[+] def productArity : Int
[+] def productElement ( n: Int ) : Any
[+] def productIterator : Iterator [ Any ]
[+] def productPrefix : String
[+] def synchronized ( x$0: X0 ) : X0
[+] def toCommonFlags : FlagSet

This flag set with all flags transposed to be common flags

[+] override def toString : String
[+] def toString : String

The string representation of this flag set

[+] def toTermFlags : FlagSet

This flag set with all flags transposed to be term flags

[+] def toTypeFlags : FlagSet

This flag set with all flags transposed to be type flags

[+] def wait ( ) : Unit
[+] def wait ( x$0: Long ) : Unit
[+] def wait ( x$0: Long , x$1: Int ) : Unit
[+] def | ( fs: FlagSet ) : FlagConjunction
[+] def | ( that: FlagSet ) : FlagSet

The union of this flag set and the given flag set 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.