SettingGroup
dotty.tools.dotc.config.Settings.SettingGroup
class SettingGroup
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class ScalaSettingsobject ScalaSettings
Members list
Keywords
- no keywords
- final
Value members
Concrete methods
def BooleanSetting(category: SettingCategory, name: String, descr: String, initialValue: Boolean, aliases: List[String], preferPrevious: Boolean, deprecation: Option[Deprecation], ignoreInvalidArgs: Boolean): Setting[Boolean]
def ChoiceSetting(category: SettingCategory, name: String, helpArg: String, descr: String, choices: List[String], default: String, aliases: List[String], legacyArgs: Boolean, deprecation: Option[Deprecation]): Setting[String]
def IntChoiceSetting(category: SettingCategory, name: String, descr: String, choices: Seq[Int], default: Int, deprecation: Option[Deprecation]): Setting[Int]
def IntSetting(category: SettingCategory, name: String, descr: String, default: Int, aliases: List[String], deprecation: Option[Deprecation]): Setting[Int]
def MultiChoiceHelpSetting(category: SettingCategory, name: String, helpArg: String, descr: String, choices: List[ChoiceWithHelp[String]], default: List[ChoiceWithHelp[String]], legacyChoices: List[String], aliases: List[String], deprecation: Option[Deprecation]): Setting[List[ChoiceWithHelp[String]]]
def MultiStringSetting(category: SettingCategory, name: String, helpArg: String, descr: String, default: List[String], aliases: List[String], deprecation: Option[Deprecation]): Setting[List[String]]
def OptionSetting[T : ClassTag](category: SettingCategory, name: String, descr: String, aliases: List[String], deprecation: Option[Deprecation]): Setting[Option[T]]
def OutputSetting(category: SettingCategory, name: String, helpArg: String, descr: String, default: AbstractFile, aliases: List[String], preferPrevious: Boolean, deprecation: Option[Deprecation]): Setting[AbstractFile]
def PathSetting(category: SettingCategory, name: String, descr: String, default: String, aliases: List[String], deprecation: Option[Deprecation]): Setting[String]
def PhasesSetting(category: SettingCategory, name: String, descr: String, default: String, aliases: List[String], deprecation: Option[Deprecation], depends: SettingDependencies): Setting[List[String]]
def PrefixSetting(category: SettingCategory, name0: String, descr: String, deprecation: Option[Deprecation]): Setting[List[String]]
def StringSetting(category: SettingCategory, name: String, helpArg: String, descr: String, default: String, aliases: List[String], deprecation: Option[Deprecation], depends: SettingDependencies): Setting[String]
def VersionSetting(category: SettingCategory, name: String, descr: String, default: ScalaVersion, legacyArgs: Boolean, deprecation: Option[Deprecation]): Setting[ScalaVersion]
final def processArguments(state: ArgsSummary, processAll: Boolean, skipped: List[String]): ArgsSummary
Iterates over the arguments applying them to settings where applicable. Then verifies setting dependencies are met.
Iterates over the arguments applying them to settings where applicable. Then verifies setting dependencies are met.
This 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.
Attributes
def processArguments(arguments: List[String], processAll: Boolean, settingsState: SettingsState): ArgsSummary
In this article