scala.tools.nsc.settings.MutableSettings
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.
Issue error and return
Issue error and return
These categorizations are so the help output shows -X and -P among the standard options and -Y among the advanced options.
These categorizations are so the help output shows -X and -P among the standard options and -Y among the advanced options.
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.
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.
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.
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.
(scalaVersionSetting: math.Ordered[ScalaVersionSetting]).<(that)
(scalaVersionSetting: math.Ordered[ScalaVersionSetting]).<=(that)
(scalaVersionSetting: math.Ordered[ScalaVersionSetting]).>(that)
(scalaVersionSetting: math.Ordered[ScalaVersionSetting]).>=(that)
(scalaVersionSetting: math.Ordered[ScalaVersionSetting]).compare(that)
(scalaVersionSetting: math.Ordered[ScalaVersionSetting]).compareTo(that)
A setting represented by a Scala version, (
default
unless set)