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. def +(v: MultiChoiceEnumeration.Value): MultiChoiceEnumeration.ValueSet
    Definition Classes
    Value
  2. def <(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  3. def <=(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  4. def >(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  5. def >=(that: MultiChoiceEnumeration.Value): Boolean
    Definition Classes
    Ordered
  6. def compare(that: MultiChoiceEnumeration.Value): Int
    Definition Classes
    Value → Ordered
  7. def compareTo(that: MultiChoiceEnumeration.Value): Int
    Definition Classes
    Ordered → Comparable
  8. def equals(other: Any): Boolean
    Definition Classes
    Value → AnyRef → Any
  9. val expandsTo: List[Choice]
  10. def hashCode(): Int
    Definition Classes
    Value → AnyRef → Any
  11. val help: String
  12. def id: Int
    Definition Classes
    Val → Value
  13. val name: String
  14. def toString(): String
    Definition Classes
    Val → AnyRef → Any

Shadowed Implicit Value Members

  1. 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
  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 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
  6. 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