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 with Mutable

    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
  • ValueSet
  • ValueSet

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

Source
MutableSettings.scala
Linear Supertypes
Product, Equals, MultiChoiceEnumeration.Val, MultiChoiceEnumeration.Value, Serializable, java.io.Serializable, math.Ordered[MultiChoiceEnumeration.Value], Comparable[MultiChoiceEnumeration.Value], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Choice
  2. Product
  3. Equals
  4. Val
  5. Value
  6. Serializable
  7. Serializable
  8. Ordered
  9. Comparable
  10. AnyRef
  11. 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. All

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 to ArrowAssoc[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( ... ) @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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    Value → AnyRef → Any
  24. val help: String
  25. def id: Int
    Definition Classes
    Val → Value
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val name: String
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def readResolve(): AnyRef
    Attributes
    protected
    Definition Classes
    Val
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    Val → AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. def [B](y: B): (Choice, B)
    Implicit
    This member is added by an implicit conversion from Choice to ArrowAssoc[Choice] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Choice to any2stringadd[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 to math.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 to math.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 to math.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 to math.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 to math.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 to math.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 formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Choice to StringFormat[Choice] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from math.Ordered[MultiChoiceEnumeration.Value]

Inherited from Comparable[MultiChoiceEnumeration.Value]

Inherited from AnyRef

Inherited from Any

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

Inherited by implicit conversion any2stringadd from Choice to any2stringadd[Choice]

Inherited by implicit conversion StringFormat from Choice to StringFormat[Choice]

Inherited by implicit conversion Ensuring from Choice to Ensuring[Choice]

Inherited by implicit conversion ArrowAssoc from Choice to ArrowAssoc[Choice]

Ungrouped