A setting represented by a boolean flag (false, unless set)
A setting represented by a string in a given set of choices
,
(default
unless set).
A setting represented by an integer
A setting that accumulates all strings supplied to it, until it encounters one starting with a '-'.
A class for holding mappings from source directories to their output location.
Set the output directory.
A setting represented by a list of strings which should be prefixes of phase names.
A special setting for accumulating arguments like -Dfoo=bar.
A base class for settings of all types.
*
A setting represented by a string, (default
unless set)
-X "Advanced" settings
-X "Advanced" settings
Area-specific debug output.
Area-specific debug output.
IDE-specific settings
IDE-specific settings
Set of settings
Set of settings
Path related settings.
Path related settings.
Create a new Settings object, copying all user-set values.
Compatibility stubs for options whose value name did not previously match the option name.
Compatibility stubs for options whose value name did not previously match the option name.
Against my better judgment, giving in to martin here and allowing CLASSPATH to be used automatically.
Against my better judgment, giving in to martin here and allowing CLASSPATH to be used automatically. So for the user-specified part of the classpath:
Other settings.
Other settings.
Disable a setting
Disable a setting
Initializes these settings for embedded use by a class from the given class loader.
Initializes these settings for embedded use by a class from the given class loader.
The class loader for T
should provide resources app.class.path
and boot.class.path
. These resources should contain the application
and boot classpaths in the same form as would be passed on the command line.
Initializes these settings for embedded use by type T
.
Initializes these settings for embedded use by type T
.
The class loader defining T
should provide resources app.class.path
and boot.class.path
. These resources should contain the application
and boot classpaths in the same form as would be passed on the command line.
Enabled under -Xexperimental.
Enabled under -Xexperimental.
Groups of Settings.
Groups of Settings.
Enabled under -Xfuture.
Enabled under -Xfuture.
Test whether this is scaladoc we're looking at
Test whether this is scaladoc we're looking at
Enabled under -optimise.
Enabled under -optimise.
A list pairing source directories with their output directory.
A list pairing source directories with their output directory. This option is not available on the command line, but can be set by other tools (IDEs especially). The command line specifies a single output directory that is used for all source files, denoted by a '*' in this list.
-Y "Private" settings
-Y "Private" settings
Returns any unprocessed arguments.
Returns any unprocessed arguments.
-P "Plugin" settings
-P "Plugin" settings
A list of settings which act based on prefix rather than an exact match.
A list of settings which act based on prefix rather than an exact match. This is basically -D and -J.
Iterates over the arguments applying them to settings where applicable.
Iterates over the arguments applying them to settings where applicable. Then verifies setting dependencies are met.
This temporarily takes a boolean indicating whether to keep processing if an argument is seen which is not a command line option. This is an expedience for the moment so that you can say
scalac -d /tmp foo.scala -optimise
while also allowing
scala Program opt opt
to get their arguments.
Returns (success, List of unprocessed arguments)
Split the given line into parameters.
(mutableSettings: StringAdd).self
(mutableSettings: StringFormat).self
(Since version 2.11.0) Use warnSelectNullable
(Since version 2.11.0) Use fatalWarnings
(Since version 2.11.0) Use warnDeadCode
(mutableSettings: ArrowAssoc[MutableSettings]).x
(Since version 2.10.0) Use leftOfArrow
instead
(mutableSettings: Ensuring[MutableSettings]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A mutable Settings object.