scala.tools.nsc.settings.MutableSettings

# MultiChoiceEnumeration

#### abstract class MultiChoiceEnumeration extends Enumeration

Each MultiChoiceSetting takes a MultiChoiceEnumeration as domain. The enumeration may use the Choice class to define values, or simply use the default `Value` constructor:

object SettingDomain extends MultiChoiceEnumeration { val arg1, arg2 = Value }

Or

object SettingDomain extends MultiChoiceEnumeration { val arg1 = Choice("arg1", "help") val arg2 = Choice("arg2", "help") }

Choices with a non-empty `expandsTo` enable other options. Note that expanding choices are not present in the multiChoiceSetting.value set, only their expansion.

Source
  MutableSettings.scala

Linear Supertypes
Enumeration, Serializable, java.io.Serializable, AnyRef, Any
Known Subclasses
LintWarnings, YoptChoices, YstatisticsPhases, languageFeatures
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. MultiChoiceEnumeration
2. Enumeration
3. Serializable
4. Serializable
5. AnyRef
6. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new MultiChoiceEnumeration()

### Type Members

1. #### case class Choice(name: String, help: String = "", expandsTo: List[Choice] = Nil) extends Val with Product with Serializable

2. #### class Val extends Value with Serializable

   Attributes
     protected
   Definition Classes
     Enumeration
   Annotations
     @SerialVersionUID()

3. #### abstract class Value extends Ordered[Value] with Serializable

   Definition Classes
     Enumeration
   Annotations
     @SerialVersionUID()

4. #### class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

   Definition Classes
     Enumeration

### Value Members

1. #### final def !=(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

2. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

3. #### def +(other: String): String

   Implicit information
     This member is added by an implicit conversion from MultiChoiceEnumeration to any2stringadd[MultiChoiceEnumeration] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd

4. #### def ->[B](y: B): (MultiChoiceEnumeration, B)

   Implicit information
     This member is added by an implicit conversion from MultiChoiceEnumeration to ArrowAssoc[MultiChoiceEnumeration] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()

5. #### final def ==(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

6. #### final def Value(i: Int, name: String): Value

   Attributes
     protected
   Definition Classes
     Enumeration

7. #### final def Value(name: String): Value

   Attributes
     protected
   Definition Classes
     Enumeration

8. #### final def Value(i: Int): Value

   Attributes
     protected
   Definition Classes
     Enumeration

9. #### final def Value: Value

   Attributes
     protected
   Definition Classes
     Enumeration

10. #### object ValueSet extends Serializable

    Definition Classes
      Enumeration

11. #### final def apply(x: Int): Value

    Definition Classes
      Enumeration

12. #### final def asInstanceOf[T0]: T0

    Definition Classes
      Any

13. #### def clone(): AnyRef

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

14. #### def ensuring(cond: (MultiChoiceEnumeration) ⇒ Boolean, msg: ⇒ Any): MultiChoiceEnumeration

    Implicit information
      This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

15. #### def ensuring(cond: (MultiChoiceEnumeration) ⇒ Boolean): MultiChoiceEnumeration

    Implicit information
      This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

16. #### def ensuring(cond: Boolean, msg: ⇒ Any): MultiChoiceEnumeration

    Implicit information
      This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

17. #### def ensuring(cond: Boolean): MultiChoiceEnumeration

    Implicit information
      This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

18. #### final def eq(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

19. #### def equals(arg0: Any): Boolean

    Definition Classes
      AnyRef → Any

20. #### def finalize(): Unit

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )

21. #### def formatted(fmtstr: String): String

    Implicit information
      This member is added by an implicit conversion from MultiChoiceEnumeration to StringFormat[MultiChoiceEnumeration] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()

22. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

23. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

24. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

25. #### final def maxId: Int

    Definition Classes
      Enumeration

26. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

27. #### var nextId: Int

    Attributes
      protected
    Definition Classes
      Enumeration

28. #### var nextName: Iterator[String]

    Attributes
      protected
    Definition Classes
      Enumeration

29. #### final def notify(): Unit

    Definition Classes
      AnyRef

30. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

31. #### def readResolve(): AnyRef

    Attributes
      protected
    Definition Classes
      Enumeration

32. #### final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
      AnyRef

33. #### def toString(): String

    Definition Classes
      Enumeration → AnyRef → Any

34. #### def values: ValueSet

    Definition Classes
      Enumeration

35. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

36. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

37. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

38. #### final def withName(s: String): Value

    Definition Classes
      Enumeration

39. #### def →[B](y: B): (MultiChoiceEnumeration, B)

    Implicit information
      This member is added by an implicit conversion from MultiChoiceEnumeration to ArrowAssoc[MultiChoiceEnumeration] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from Enumeration

### Inherited from Serializable

### Inherited from java.io.Serializable

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from MultiChoiceEnumeration to any2stringadd[MultiChoiceEnumeration]

### Inherited by implicit conversion StringFormat from MultiChoiceEnumeration to StringFormat[MultiChoiceEnumeration]

### Inherited by implicit conversion Ensuring from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration]

### Inherited by implicit conversion ArrowAssoc from MultiChoiceEnumeration to ArrowAssoc[MultiChoiceEnumeration]

### Ungrouped