FlagsMethods

scala.quoted.Quotes.reflectModule.FlagsMethods
trait FlagsMethods

Extension methods of Flags.

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Extensions

Extensions

extension (self: Quotes.this.reflectModule.this.Flags)
def &(that: Quotes.this.reflectModule.this.Flags): Quotes.this.reflectModule.this.Flags

Intersection of the two flag sets.

Intersection of the two flag sets.

Value parameters

that

the flag set to combine with

Attributes

Source
Quotes.scala
def is(that: Quotes.this.reflectModule.this.Flags): Boolean

Is the given flag set a subset of this flag sets.

Is the given flag set a subset of this flag sets.

Value parameters

that

the flag set to check for

Attributes

Returns

true if every flag in that is also set in this flag set, false otherwise

Source
Quotes.scala
def show: String

Shows the flags as a String.

Shows the flags as a String.

Attributes

Source
Quotes.scala
def |(that: Quotes.this.reflectModule.this.Flags): Quotes.this.reflectModule.this.Flags

Union of the two flag sets.

Union of the two flag sets.

Value parameters

that

the flag set to combine with

Attributes

Source
Quotes.scala