Packages

  • package root

    The Scala compiler and reflection APIs.

    The Scala compiler and reflection APIs.

    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package tools
    Definition Classes
    scala
  • package nsc
    Definition Classes
    tools
  • package settings
    Definition Classes
    nsc
  • class MutableSettings extends reflect.internal.settings.MutableSettings with AbsSettings with ScalaSettings

    A mutable Settings object.

    A mutable Settings object.

    Definition Classes
    settings
  • abstract class MultiChoiceEnumeration extends Enumeration

    Each MultiChoiceSetting takes a MultiChoiceEnumeration as domain.

    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.

    Definition Classes
    MutableSettings
  • Choice
  • Val
  • Value
  • ValueOrdering
  • ValueSet
  • ValueSet

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

Source
MutableSettings.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Choice
  2. Product
  3. Equals
  4. Val
  5. Value
  6. Serializable
  7. Ordered
  8. Comparable
  9. AnyRef
  10. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Choice(name: String, help: String = "", expandsTo: List[Choice] = Nil)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(v: MultiChoiceEnumeration.Value): MultiChoiceEnumeration.ValueSet
    Definition Classes
    Value
  4. def ->[B](y: B): (Choice, B)
    Implicit
    This member is added by an implicit conversion from Choice toArrowAssoc[Choice] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  6. def <=(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def >(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  9. def >=(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def compare(that: MultiChoiceEnumeration.Value): Int
    Definition Classes
    Value → Ordered
  13. def compareTo(that: MultiChoiceEnumeration.Value): Int
    Definition Classes
    Ordered → Comparable
  14. def ensuring(cond: (Choice) => Boolean, msg: => Any): Choice
    Implicit
    This member is added by an implicit conversion from Choice toEnsuring[Choice] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Choice) => Boolean): Choice
    Implicit
    This member is added by an implicit conversion from Choice toEnsuring[Choice] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): Choice
    Implicit
    This member is added by an implicit conversion from Choice toEnsuring[Choice] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Choice
    Implicit
    This member is added by an implicit conversion from Choice toEnsuring[Choice] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(other: Any): Boolean
    Definition Classes
    Value → AnyRef → Any
  20. val expandsTo: List[Choice]
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Choice toStringFormat[Choice] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    Value → AnyRef → Any
  25. val help: String
  26. def id: Int
    Definition Classes
    Val → Value
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val name: String
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def readResolve(): AnyRef
    Attributes
    protected
    Definition Classes
    Val
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    Val → AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Choice toany2stringadd[Choice] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (choice: any2stringadd[Choice]).+(other)
    Definition Classes
    any2stringadd
  2. def <(that: Choice): Boolean
    Implicit
    This member is added by an implicit conversion from Choice tomath.Ordered[Choice] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[Choice] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (choice: math.Ordered[Choice]).<(that)
    Definition Classes
    Ordered
  3. def <=(that: Choice): Boolean
    Implicit
    This member is added by an implicit conversion from Choice tomath.Ordered[Choice] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[Choice] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (choice: math.Ordered[Choice]).<=(that)
    Definition Classes
    Ordered
  4. def >(that: Choice): Boolean
    Implicit
    This member is added by an implicit conversion from Choice tomath.Ordered[Choice] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[Choice] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (choice: math.Ordered[Choice]).>(that)
    Definition Classes
    Ordered
  5. def >=(that: Choice): Boolean
    Implicit
    This member is added by an implicit conversion from Choice tomath.Ordered[Choice] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[Choice] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (choice: math.Ordered[Choice]).>=(that)
    Definition Classes
    Ordered
  6. def compare(that: Choice): Int
    Implicit
    This member is added by an implicit conversion from Choice tomath.Ordered[Choice] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[Choice] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (choice: math.Ordered[Choice]).compare(that)
    Definition Classes
    Ordered
  7. def compareTo(that: Choice): Int
    Implicit
    This member is added by an implicit conversion from Choice tomath.Ordered[Choice] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[Choice] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (choice: math.Ordered[Choice]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Deprecated Value Members

  1. def [B](y: B): (Choice, B)
    Implicit
    This member is added by an implicit conversion from Choice toArrowAssoc[Choice] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Product

Inherited from Equals

Inherited from java.io.Serializable

Inherited from math.Ordered[MultiChoiceEnumeration.Value]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion orderingToOrdered fromChoice to math.Ordered[Choice]

Inherited by implicit conversion any2stringadd fromChoice to any2stringadd[Choice]

Inherited by implicit conversion StringFormat fromChoice to StringFormat[Choice]

Inherited by implicit conversion Ensuring fromChoice to Ensuring[Choice]

Inherited by implicit conversion ArrowAssoc fromChoice to ArrowAssoc[Choice]

Ungrouped