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)
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.
-X "Advanced" settings
-X "Advanced" settings
-Y "Private" settings
-Y "Private" settings
IDE-specific settings
IDE-specific settings
All user set settings rewritten with absolute paths.
Set of settings
Set of settings
Standard settings
Standard 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.
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.
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.
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.