trait AbsSetting extends Ordered[Setting] with AbsSettingValue
- Alphabetic
- By Inheritance
- AbsSetting
- AbsSettingValue
- Ordered
- Comparable
- AnyRef
- Any
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type T
- Definition Classes
- AbsSettingValue
Abstract Value Members
- abstract def helpDescription: String
- abstract def isDefault: Boolean
- Definition Classes
- AbsSettingValue
- abstract def name: String
- abstract def tryToSet(args: List[String]): Option[ResultOfTryToSet]
After correct Setting has been selected, tryToSet is called with the remainder of the command line.
After correct Setting has been selected, tryToSet is called with the remainder of the command line. It consumes any applicable arguments and returns the unconsumed ones.
- Attributes
- protected[nsc]
- abstract def unparse: List[String]
- abstract def value: T
- Definition Classes
- AbsSettingValue
- abstract def withAbbreviation(name: String): AbsSetting.this.type
In mutable Settings, these return the same object with a var set.
In mutable Settings, these return the same object with a var set. In immutable, of course they will return a new object, which means we can't use "this.type", at least not in a non-casty manner, which is unfortunate because we lose type information without it.
...but now they're this.type because of scala/bug#3462. The immutable side doesn't exist yet anyway.
- abstract def withDeprecationMessage(msg: String): AbsSetting.this.type
- abstract def withHelpSyntax(help: String): AbsSetting.this.type
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from AbsSetting toany2stringadd[AbsSetting] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (AbsSetting, B)
- Implicit
- This member is added by an implicit conversion from AbsSetting toArrowAssoc[AbsSetting] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- def <(that: Setting): Boolean
- Definition Classes
- Ordered
- def <=(that: Setting): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: Setting): Boolean
- Definition Classes
- Ordered
- def >=(that: Setting): Boolean
- Definition Classes
- Ordered
- def abbreviations: List[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def choices: List[String]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compare(that: Setting): Int
- Definition Classes
- AbsSetting → Ordered
- def compareTo(that: Setting): Int
- Definition Classes
- Ordered → Comparable
- def dependencies: List[(Setting, String)]
- def deprecationMessage: Option[String]
- def ensuring(cond: (AbsSetting) => Boolean, msg: => Any): AbsSetting
- Implicit
- This member is added by an implicit conversion from AbsSetting toEnsuring[AbsSetting] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (AbsSetting) => Boolean): AbsSetting
- Implicit
- This member is added by an implicit conversion from AbsSetting toEnsuring[AbsSetting] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): AbsSetting
- Implicit
- This member is added by an implicit conversion from AbsSetting toEnsuring[AbsSetting] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): AbsSetting
- Implicit
- This member is added by an implicit conversion from AbsSetting toEnsuring[AbsSetting] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
Equality tries to sidestep all the drama and define it simply and in one place: two AbsSetting objects are equal if their names and values compare equal.
Equality tries to sidestep all the drama and define it simply and in one place: two AbsSetting objects are equal if their names and values compare equal.
- Definition Classes
- AbsSetting → AnyRef → Any
- def errorAndValue[A](msg: String, x: A): A
Issue error and return the value.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AbsSetting toStringFormat[AbsSetting] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AbsSetting → AnyRef → Any
- def help: String
The help message to be printed if isHelping.
- def helpSyntax: String
- def internalOnly(): AbsSetting.this.type
- def isAdvanced: Boolean
Standard options are shown on the
-help
output, advanced on-X
, private on-Y
, warning on-W
, verbose on-V
.Standard options are shown on the
-help
output, advanced on-X
, private on-Y
, warning on-W
, verbose on-V
.The single char options themselves, including
-P
, are explained on-help
. Additionally,-Werror
is on-help
and-Xlint
on-W
. - def isDeprecated: Boolean
- def isHelping: Boolean
If this method returns true, print the help message and exit.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInternalOnly: Boolean
- def isPrivate: Boolean
- def isStandard: Boolean
- def isVerbose: Boolean
- def isWarning: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def respondsTo(label: String): Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AbsSetting → AnyRef → Any
- def tryToSetColon(args: List[String]): Option[ResultOfTryToSet]
Commands which can take lists of arguments in form -Xfoo:bar,baz override this method and accept them as a list.
Commands which can take lists of arguments in form -Xfoo:bar,baz override this method and accept them as a list. It returns List[String] for consistency with tryToSet, and should return its incoming arguments unmodified on failure, and Nil on success.
- Attributes
- protected[nsc]
- def tryToSetFromPropertyValue(s: String): Unit
Attempt to set from a properties file style property value.
Attempt to set from a properties file style property value. Currently used by Eclipse SDT only. !!! Needs test.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Shadowed Implicit Value Members
- def <(that: AbsSetting): Boolean
- Implicit
- This member is added by an implicit conversion from AbsSetting tomath.Ordered[AbsSetting] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[AbsSetting] 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:(absSetting: math.Ordered[AbsSetting]).<(that)
- Definition Classes
- Ordered
- def <=(that: AbsSetting): Boolean
- Implicit
- This member is added by an implicit conversion from AbsSetting tomath.Ordered[AbsSetting] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[AbsSetting] 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:(absSetting: math.Ordered[AbsSetting]).<=(that)
- Definition Classes
- Ordered
- def >(that: AbsSetting): Boolean
- Implicit
- This member is added by an implicit conversion from AbsSetting tomath.Ordered[AbsSetting] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[AbsSetting] 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:(absSetting: math.Ordered[AbsSetting]).>(that)
- Definition Classes
- Ordered
- def >=(that: AbsSetting): Boolean
- Implicit
- This member is added by an implicit conversion from AbsSetting tomath.Ordered[AbsSetting] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[AbsSetting] 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:(absSetting: math.Ordered[AbsSetting]).>=(that)
- Definition Classes
- Ordered
- def compare(that: AbsSetting): Int
- Implicit
- This member is added by an implicit conversion from AbsSetting tomath.Ordered[AbsSetting] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[AbsSetting] 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:(absSetting: math.Ordered[AbsSetting]).compare(that)
- Definition Classes
- Ordered
- def compareTo(that: AbsSetting): Int
- Implicit
- This member is added by an implicit conversion from AbsSetting tomath.Ordered[AbsSetting] performed by method orderingToOrdered in scala.math.Ordered.This conversion will take place only if an implicit value of type math.Ordering[AbsSetting] 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:(absSetting: math.Ordered[AbsSetting]).compareTo(that)
- Definition Classes
- Ordered → Comparable
Deprecated Value Members
- def →[B](y: B): (AbsSetting, B)
- Implicit
- This member is added by an implicit conversion from AbsSetting toArrowAssoc[AbsSetting] 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.
The Scala compiler and reflection APIs.