summaryrefslogtreecommitdiff
path: root/src/library/scala/reflect/base/FlagSets.scala
blob: 57946d0f27ceabd40b189897c80fe4c6886ab3e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package scala.reflect
package base

trait FlagSets { self: Universe =>

  /** An abstract type representing sets of flags that apply to definition trees and symbols */
  type FlagSet

  /** A tag that preserves the identity of the `FlagSet` abstract type from erasure.
   *  Can be used for pattern matching, instance tests, serialization and likes.
   */
  implicit val FlagSetTag: ClassTag[FlagSet]

  /** The empty set of flags */
  val NoFlags: FlagSet
}