A setting represented by a boolean flag (false, unless set)
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 a string in a given set of choices
,
(default
unless set).
Internal use - syntax enhancements.
Internal use - syntax enhancements.
A setting represented by an integer
A setting represented by an integer
A setting that accumulates all strings supplied to it, until it encounters one starting with a '-'.
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.
A class for holding mappings from source directories to their output location. This functionality can be accessed only programmatically. The command line compiler uses a single output location, but tools may use this functionality to set output location per source directory.
Set the output directory.
Set the output directory.
A setting represented by a list of strings which should be prefixes of phase names.
A setting represented by a list of strings which should be prefixes of
phase names. This is not checked here, however. Alternatively the string
"all"
can be used to represent all phases.
(the empty list, unless set)
A special setting for accumulating arguments like -Dfoo=bar.
A special setting for accumulating arguments like -Dfoo=bar.
A setting represented by a Scala version, (default
unless set)
A setting represented by a Scala version, (default
unless set)
A base class for settings of all types.
A base class for settings of all types.
Subclasses each define a value
field of the appropriate type.
A setting represented by a string, (default
unless set)
A setting represented by a string, (default
unless set)
-X "Advanced" settings
-X "Advanced" settings
Settings motivated by GenBCode
Settings motivated by GenBCode
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.
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.
If any of these settings is enabled, the compiler should print a message and exit.
If any of these settings is enabled, the compiler should print a message and exit.
Helper utilities for use by checkConflictingSettings()
Helper utilities for use by checkConflictingSettings()
Is an info setting set?
Is an info setting set?
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.
Split the given line into parameters.
(Since version 2.11.0) This option is being removed
(Since version 2.11.0) Use fatalWarnings
(Since version 2.11.0) Use warnDeadCode