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
- All
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 #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 to any2stringadd[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 to ArrowAssoc[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( ... ) @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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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[T](msg: String, x: T): T
Issue error and return
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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
These categorizations are so the help output shows -X and -P among the standard options and -Y among the advanced options.
- def isDeprecated: Boolean
- def isForDebug: 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
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (AbsSetting, B)
- Implicit
- This member is added by an implicit conversion from AbsSetting to ArrowAssoc[AbsSetting] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
<(that: AbsSetting): Boolean
- Implicit
- This member is added by an implicit conversion from AbsSetting to math.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 to math.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 to math.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 to math.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 to math.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 to math.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
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AbsSetting to StringFormat[AbsSetting] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.