Packages

class Settings extends nsc.Settings

An extended version of compiler settings, with additional Scaladoc-specific options.

Source
Settings.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Settings
  2. Settings
  3. MutableSettings
  4. ScalaSettings
  5. Warnings
  6. StandardScalaSettings
  7. AbsSettings
  8. MutableSettings
  9. AbsSettings
  10. AnyRef
  11. Any
Implicitly
  1. by SettingsOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Settings(error: (String) => Unit, printMsg: (String) => Unit)
  2. new Settings(error: (String) => Unit, printMsg: (String) => Unit = println(_), pathFactory: PathFactory = DefaultPathFactory)

    error

    A function that prints a string to the appropriate error stream

    printMsg

    A function that prints the string, without any extra boilerplate of error

Type Members

  1. trait AbsSettingValue extends AnyRef
    Definition Classes
    AbsSettings
  2. type ResultOfTryToSet = collection.immutable.List[String]
    Definition Classes
    MutableSettingsAbsSettings
  3. trait SettingValue extends reflect.internal.settings.MutableSettings.AbsSettingValue
    Definition Classes
    MutableSettings
  4. trait AbsSetting extends Ordered[Setting] with AbsSettingValue
    Definition Classes
    AbsSettings
  5. trait InternalSetting extends AbsSetting
    Definition Classes
    AbsSettings
  6. class BooleanSetting extends Setting

    A setting that is a boolean flag, with default as specified.

    A setting that is a boolean flag, with default as specified.

    Definition Classes
    MutableSettings
  7. class ChoiceSetting extends Setting

    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).

    Definition Classes
    MutableSettings
  8. class EnableSettings[T <: BooleanSetting] extends AnyRef

    Internal use - syntax enhancements.

    Internal use - syntax enhancements.

    Attributes
    protected
    Definition Classes
    MutableSettings
  9. class IntSetting extends Setting

    A setting represented by an integer.

    A setting represented by an integer.

    Definition Classes
    MutableSettings
  10. abstract class MultiChoiceEnumeration extends Enumeration

    Each MultiChoiceSetting takes a MultiChoiceEnumeration as domain.

    Each MultiChoiceSetting takes a MultiChoiceEnumeration as domain. The enumeration may use the Choice class to define values, or simply use the default Value constructor:

    object SettingDomain extends MultiChoiceEnumeration { val arg1, arg2 = Value }

    Or

    object SettingDomain extends MultiChoiceEnumeration { val arg1 = Choice("arg1", "help") val arg2 = Choice("arg2", "help") }

    Choices with a non-empty expandsTo enable other options. Note that expanding choices are not present in the multiChoiceSetting.value set, only their expansion.

    Definition Classes
    MutableSettings
  11. class MultiChoiceSetting[E <: MultiChoiceEnumeration] extends Setting with Clearable

    A Setting that collects string-valued settings from an enumerated domain.

    A Setting that collects string-valued settings from an enumerated domain.

    • These choices can be turned on or off: "-option:on,-off"
    • If an option is set both on and off, then the option is on
    • The choice "_" enables all choices that have not been explicitly disabled

    Arguments can be provided in colonated or non-colonated mode, i.e. "-option a b" or "-option:a,b". Note that arguments starting with a "-" can only be provided in colonated mode, otherwise they are interpreted as a new option.

    In non-colonated mode, the setting stops consuming arguments at the first non-choice, i.e. "-option a b c" only consumes "a" and "b" if "c" is not a valid choice.

    Definition Classes
    MutableSettings
  12. class MultiStringSetting extends Setting with Clearable

    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 '-'.

    Definition Classes
    MutableSettings
  13. class OutputDirs extends AnyRef

    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.

    Definition Classes
    MutableSettings
  14. class OutputSetting extends StringSetting

    Set the output directory for all sources.

    Set the output directory for all sources.

    Definition Classes
    MutableSettings
  15. class PathSetting extends StringSetting
    Definition Classes
    MutableSettings
  16. class PhasesSetting extends Setting with Clearable

    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, underscore can be used to indicate all phases.

    Definition Classes
    MutableSettings
  17. class PrefixSetting extends Setting

    A special setting for accumulating arguments like -Dfoo=bar.

    A special setting for accumulating arguments like -Dfoo=bar.

    Definition Classes
    MutableSettings
  18. class ScalaVersionSetting extends Setting

    A setting represented by a Scala version.

    A setting represented by a Scala version. The initial value is used if the setting is not specified. The default value is used if the option is specified without argument (e.g., -Xmigration).

    Definition Classes
    MutableSettings
  19. abstract class Setting extends AbsSetting with SettingValue

    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.

    Definition Classes
    MutableSettings
  20. class StringSetting extends Setting

    A setting represented by a string, (default unless set)

    A setting represented by a string, (default unless set)

    Definition Classes
    MutableSettings
  21. sealed abstract class CachePolicy extends AnyRef
    Definition Classes
    ScalaSettings

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Settings toany2stringadd[Settings] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Settings, B)
    Implicit
    This member is added by an implicit conversion from Settings toArrowAssoc[Settings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def BooleanSetting(name: String, descr: String, default: Boolean = false): BooleanSetting
    Definition Classes
    MutableSettings
  7. def ChoiceSetting(name: String, helpArg: String, descr: String, choices: List[String], default: String, choicesHelp: List[String] = Nil): ChoiceSetting
    Definition Classes
    MutableSettings
  8. def IntSetting(name: String, descr: String, default: Int, range: Option[(Int, Int)], parser: (String) => Option[Int]): IntSetting
    Definition Classes
    MutableSettings
  9. def MultiChoiceSetting[E <: MultiChoiceEnumeration](name: String, helpArg: String, descr: String, domain: E, default: Option[List[String]] = None, helpText: Option[String] = None): MultiChoiceSetting[E]
    Definition Classes
    MutableSettings
  10. def MultiStringSetting(name: String, arg: String, descr: String, default: List[String] = Nil, helpText: Option[String] = None, prepend: Boolean = false): MultiStringSetting
    Definition Classes
    MutableSettings
  11. def OutputSetting(default: String): OutputSetting
    Definition Classes
    MutableSettings
  12. def PathSetting(name: String, descr: String, default: String): PathSetting
    Definition Classes
    MutableSettings
  13. def PhasesSetting(name: String, descr: String, default: String = ""): PhasesSetting
    Definition Classes
    MutableSettings
  14. def PrefixSetting(name: String, prefix: String, descr: String): PrefixSetting
    Definition Classes
    MutableSettings
  15. def ScalaVersionSetting(name: String, arg: String, descr: String, initial: ScalaVersion, default: Option[ScalaVersion] = None, helpText: Option[String] = None): ScalaVersionSetting
    Definition Classes
    MutableSettings
  16. def StringSetting(name: String, arg: String, descr: String, default: String = "", helpText: Option[String] = None): StringSetting
    Definition Classes
    MutableSettings
  17. val VdebugTypeError: BooleanSetting
    Definition Classes
    ScalaSettings
  18. val Vhelp: BooleanSetting

    -V "Verbose" settings

    -V "Verbose" settings

    Definition Classes
    ScalaSettings
  19. val Vimplicits: BooleanSetting
    Definition Classes
    ScalaSettings
  20. val VimplicitsMaxRefined: IntSetting
    Definition Classes
    ScalaSettings
  21. val VimplicitsVerboseTree: BooleanSetting
    Definition Classes
    ScalaSettings
  22. val VtypeDiffs: BooleanSetting
    Definition Classes
    ScalaSettings
  23. val Wconf: MultiStringSetting
    Definition Classes
    Warnings
  24. val WconfDefault: collection.immutable.List[String]
    Definition Classes
    Warnings
  25. val Whelp: BooleanSetting
    Definition Classes
    Warnings
  26. val Xexperimental: BooleanSetting
    Definition Classes
    ScalaSettings
  27. val Xhelp: BooleanSetting

    -X "Advanced" settings

    -X "Advanced" settings

    Definition Classes
    ScalaSettings
  28. val Xjline: ChoiceSetting
    Definition Classes
    ScalaSettings
  29. val XmacroSettings: MultiStringSetting
    Definition Classes
    ScalaSettings
  30. val Xmigration: ScalaVersionSetting
    Definition Classes
    ScalaSettings
  31. val XmixinForceForwarders: ChoiceSetting
    Definition Classes
    ScalaSettings
  32. val XnoPatmatAnalysis: BooleanSetting
    Definition Classes
    ScalaSettings
  33. val Xnojline: BooleanSetting
    Definition Classes
    ScalaSettings
  34. val Xprint: PhasesSetting
    Definition Classes
    ScalaSettings
  35. val Xprintpos: BooleanSetting
    Definition Classes
    ScalaSettings
  36. val Xshowcls: StringSetting
    Definition Classes
    ScalaSettings
  37. val Xshowobj: StringSetting
    Definition Classes
    ScalaSettings
  38. val Xshowtrees: BooleanSetting
    Definition Classes
    ScalaSettings
  39. val XshowtreesCompact: BooleanSetting
    Definition Classes
    ScalaSettings
  40. val XshowtreesStringified: BooleanSetting
    Definition Classes
    ScalaSettings
  41. val XsourceFeatures: MultiChoiceSetting[sourceFeatures.type]
    Definition Classes
    ScalaSettings
  42. val Xverify: BooleanSetting
    Definition Classes
    ScalaSettings
  43. val Xxml: MultiChoiceSetting[XxmlSettings.type]
    Definition Classes
    ScalaSettings
  44. val YaddBackendThreads: IntSetting
    Definition Classes
    ScalaSettings
  45. val YcacheMacroClassLoader: ChoiceSetting
    Definition Classes
    ScalaSettings
  46. val YcachePluginClassLoader: ChoiceSetting
    Definition Classes
    ScalaSettings
  47. val YcollectStatistics: BooleanSetting
    Definition Classes
    ScalaSettings
  48. val Ycompacttrees: BooleanSetting
    Definition Classes
    ScalaSettings
  49. val YdebugTasty: BooleanSetting
    Definition Classes
    ScalaSettings
  50. val Ydelambdafy: ChoiceSetting
    Definition Classes
    ScalaSettings
  51. val YdisableFlatCpCaching: BooleanSetting
    Definition Classes
    ScalaSettings
  52. val Ydocdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  53. val Ydumpclasses: StringSetting
    Definition Classes
    ScalaSettings
  54. val YforceFlatCpCaching: BooleanSetting
    Definition Classes
    ScalaSettings
  55. val Ygenasmp: StringSetting
    Definition Classes
    ScalaSettings
  56. val Yhelp: BooleanSetting

    -Y "Private" settings

    -Y "Private" settings

    Definition Classes
    ScalaSettings
  57. val YhotStatisticsEnabled: BooleanSetting
    Definition Classes
    ScalaSettings
  58. val Yidedebug: BooleanSetting
    Definition Classes
    ScalaSettings
  59. val YjarCompressionLevel: IntSetting
    Definition Classes
    ScalaSettings
  60. val YjarFactory: StringSetting
    Definition Classes
    ScalaSettings
  61. val Ylogcp: BooleanSetting
    Definition Classes
    ScalaSettings
  62. val YmacroAnnotations: BooleanSetting
    Definition Classes
    ScalaSettings
  63. val YmacroClasspath: PathSetting
    Definition Classes
    ScalaSettings
  64. val YmacroFresh: BooleanSetting
    Definition Classes
    ScalaSettings
  65. val YmacrodebugLite: BooleanSetting
    Definition Classes
    ScalaSettings
  66. val YmacrodebugVerbose: BooleanSetting
    Definition Classes
    ScalaSettings
  67. val Ymacroexpand: ChoiceSetting
    Definition Classes
    ScalaSettings
  68. val YmaxQueue: IntSetting
    Definition Classes
    ScalaSettings
  69. val Ymemberpos: StringSetting
    Definition Classes
    ScalaSettings
  70. val Ynogenericsig: BooleanSetting
    Definition Classes
    ScalaSettings
  71. val YoptInlineHeuristics: ChoiceSetting
    Definition Classes
    ScalaSettings
  72. val YoptLogInline: StringSetting
    Definition Classes
    ScalaSettings
  73. val YoptTrace: StringSetting
    Definition Classes
    ScalaSettings
  74. val Youtline: BooleanSetting
    Definition Classes
    ScalaSettings
  75. val YpatmatExhaustdepth: IntSetting
    Definition Classes
    ScalaSettings
  76. val Ypatmatdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  77. val YpickleJava: BooleanSetting
    Definition Classes
    ScalaSettings
  78. val YpickleWrite: StringSetting
    Definition Classes
    ScalaSettings
  79. val YpickleWriteApiOnly: BooleanSetting
    Definition Classes
    ScalaSettings
  80. val Yposdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  81. val YpresentationAnyThread: BooleanSetting
    Definition Classes
    ScalaSettings
  82. val YpresentationDebug: BooleanSetting
    Definition Classes
    ScalaSettings
  83. val YpresentationDelay: IntSetting
    Definition Classes
    ScalaSettings
  84. val YpresentationLocateSourceFile: BooleanSetting
    Definition Classes
    ScalaSettings
  85. val YpresentationLog: StringSetting
    Definition Classes
    ScalaSettings
  86. val YpresentationReplay: StringSetting
    Definition Classes
    ScalaSettings
  87. val YpresentationStrict: BooleanSetting
    Definition Classes
    ScalaSettings
  88. val YpresentationVerbose: BooleanSetting

    IDE-specific settings

    IDE-specific settings

    Definition Classes
    ScalaSettings
  89. val YprintTrees: ChoiceSetting
    Definition Classes
    ScalaSettings
  90. val YprofileDestination: StringSetting
    Definition Classes
    ScalaSettings
  91. val YprofileEnabled: BooleanSetting
    Definition Classes
    ScalaSettings
  92. val YprofileExternalTool: PhasesSetting
    Definition Classes
    ScalaSettings
  93. val YprofileRunGcBetweenPhases: PhasesSetting
    Definition Classes
    ScalaSettings
  94. val YprofileTrace: StringSetting
    Definition Classes
    ScalaSettings
  95. val Yquasiquotedebug: BooleanSetting
    Definition Classes
    ScalaSettings
  96. val Yrangepos: BooleanSetting
    Definition Classes
    ScalaSettings
  97. val Yrecursion: IntSetting
    Definition Classes
    ScalaSettings
  98. val Yreifycopypaste: BooleanSetting
    Definition Classes
    ScalaSettings
  99. val Yreifydebug: BooleanSetting
    Definition Classes
    ScalaSettings
  100. val YreplMagicImport: BooleanSetting
    Definition Classes
    ScalaSettings
  101. val Yreplclassbased: BooleanSetting
    Definition Classes
    ScalaSettings
  102. val Yreploutdir: StringSetting
    Definition Classes
    ScalaSettings
  103. val Yscala3ImplicitResolution: BooleanSetting
    Definition Classes
    ScalaSettings
  104. val Yscriptrunner: StringSetting
    Definition Classes
    ScalaSettings
  105. val Yshow: PhasesSetting
    Definition Classes
    ScalaSettings
  106. val Yshowsymkinds: BooleanSetting
    Definition Classes
    ScalaSettings
  107. val Yshowsymowners: BooleanSetting
    Definition Classes
    ScalaSettings
  108. val Yshowsyms: BooleanSetting
    Definition Classes
    ScalaSettings
  109. val Ystatistics: PhasesSetting
    Definition Classes
    ScalaSettings
  110. val YstatisticsEnabled: BooleanSetting
    Definition Classes
    ScalaSettings
  111. val YtastyNoAnnotations: BooleanSetting
    Definition Classes
    ScalaSettings
  112. val YtastyReader: BooleanSetting
    Definition Classes
    ScalaSettings
  113. val YtrackDependencies: BooleanSetting
    Definition Classes
    ScalaSettings
  114. val Ytyperdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  115. val Yvalidatepos: PhasesSetting
    Definition Classes
    ScalaSettings
  116. lazy val allSettings: LinkedHashMap[String, Setting]

    Set of settings

    Set of settings

    Attributes
    protected[scala]
    Definition Classes
    ScalaSettings
  117. final def areHotStatisticsEnabled: Boolean
    Implicit
    This member is added by an implicit conversion from Settings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  118. final def areStatisticsEnabled: Boolean
    Implicit
    This member is added by an implicit conversion from Settings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  119. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  120. val async: BooleanSetting
    Definition Classes
    ScalaSettings
  121. val bootclasspath: PathSetting

    Path related settings.

    Path related settings.

    Definition Classes
    StandardScalaSettings
  122. val breakCycles: BooleanSetting
    Definition Classes
    ScalaSettings
  123. val browse: PhasesSetting
    Definition Classes
    ScalaSettings
  124. val check: PhasesSetting
    Definition Classes
    ScalaSettings
  125. def checkDependencies: Boolean
    Definition Classes
    AbsSettings
  126. val checkInit: BooleanSetting
    Definition Classes
    ScalaSettings
  127. val classpath: PathSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  128. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  129. def conflictWarning: Option[String]
    Definition Classes
    ScalaSettings
  130. def copy(): nsc.Settings

    Create a new Settings object, copying all user-set values.

    Create a new Settings object, copying all user-set values.

    Definition Classes
    MutableSettings
  131. def copyInto(settings: MutableSettings): Unit
    Definition Classes
    MutableSettings
  132. val cyclic: BooleanSetting
    Definition Classes
    ScalaSettings
  133. val debug: BooleanSetting
    Definition Classes
    ScalaSettings
  134. def debuginfo: ChoiceSetting

    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.

    Definition Classes
    ScalaSettings
  135. def defaultClasspath: String

    The user class path, specified by -classpath or -cp, defaults to the value of CLASSPATH env var if it is set, as in Java, or else to "." for the current user directory.

    The user class path, specified by -classpath or -cp, defaults to the value of CLASSPATH env var if it is set, as in Java, or else to "." for the current user directory.

    Attributes
    protected
    Definition Classes
    ScalaSettings
  136. val defines: PrefixSetting
    Definition Classes
    ScalaSettings
  137. def dependenciesFile: StringSetting
    Definition Classes
    ScalaSettings
  138. val dependencyfile: StringSetting

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  139. val deprecation: BooleanSetting
    Definition Classes
    StandardScalaSettings
  140. val developer: BooleanSetting
    Definition Classes
    ScalaSettings
  141. def disable(s: Setting): LinkedHashMap[String, Setting]

    Disable a setting

    Disable a setting

    Definition Classes
    ScalaSettings
  142. val disable: MultiStringSetting
    Definition Classes
    ScalaSettings
  143. val docAuthor: BooleanSetting
  144. val docCanonicalBaseUrl: StringSetting
  145. val docDiagrams: BooleanSetting
  146. val docDiagramsDebug: BooleanSetting
  147. val docDiagramsDotPath: PathSetting
  148. val docDiagramsDotRestart: IntSetting
  149. val docDiagramsDotTimeout: IntSetting
  150. val docDiagramsMaxImplicitClasses: IntSetting

    The maximum number of implicit classes to show in the diagram

  151. val docDiagramsMaxNormalClasses: IntSetting

    The maximum number of normal classes to show in the diagram

  152. val docExpandAllTypes: BooleanSetting
  153. val docExternalDoc: MultiStringSetting
  154. val docGroups: BooleanSetting
  155. val docImplicits: BooleanSetting
  156. val docImplicitsDebug: BooleanSetting
  157. val docImplicitsHide: MultiStringSetting
  158. val docImplicitsShowAll: BooleanSetting
  159. val docImplicitsSoundShadowing: BooleanSetting
  160. val docNoJavaComments: BooleanSetting
  161. val docNoLinkWarnings: BooleanSetting
  162. val docNoPrefixes: BooleanSetting
  163. val docRawOutput: BooleanSetting
  164. val docRequired: BooleanSetting
  165. val docRootContent: PathSetting
  166. val docSkipPackages: StringSetting
  167. val docUncompilable: StringSetting
  168. val docfooter: StringSetting
  169. val docformat: ChoiceSetting

    A setting that defines in which format the documentation is output.

    A setting that defines in which format the documentation is output. Note: this setting is currently always html.

  170. val docgenerator: StringSetting
  171. val docsourceurl: StringSetting

    A setting that defines a URL to be concatenated with source locations and show a link to source files.

    A setting that defines a URL to be concatenated with source locations and show a link to source files. If needed the sourcepath option can be used to exclude undesired initial part of the link to sources

  172. val doctitle: StringSetting

    A setting that defines the overall title of the documentation, typically the name of the library being documented.

  173. val docversion: StringSetting

    A setting that defines the overall version number of the documentation, typically the version of the library being documented.

  174. val elidebelow: IntSetting
    Definition Classes
    ScalaSettings
  175. def embeddedDefaults(loader: ClassLoader): Unit

    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.

    Definition Classes
    MutableSettings
  176. def embeddedDefaults[T](implicit arg0: ClassTag[T]): Unit

    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.

    Definition Classes
    MutableSettings
  177. val encoding: StringSetting
    Definition Classes
    StandardScalaSettings
  178. def ensuring(cond: (Settings) => Boolean, msg: => Any): Settings
    Implicit
    This member is added by an implicit conversion from Settings toEnsuring[Settings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  179. def ensuring(cond: (Settings) => Boolean): Settings
    Implicit
    This member is added by an implicit conversion from Settings toEnsuring[Settings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  180. def ensuring(cond: Boolean, msg: => Any): Settings
    Implicit
    This member is added by an implicit conversion from Settings toEnsuring[Settings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  181. def ensuring(cond: Boolean): Settings
    Implicit
    This member is added by an implicit conversion from Settings toEnsuring[Settings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  182. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  183. def equals(that: Any): Boolean
    Definition Classes
    AbsSettings → AnyRef → Any
  184. val errorFn: (String) => Unit
    Definition Classes
    MutableSettingsAbsSettings
  185. val explaintypes: BooleanSetting
    Definition Classes
    StandardScalaSettings
  186. val exposeEmptyPackage: BooleanSetting
    Definition Classes
    ScalaSettings
  187. lazy val extUrlMapping: Map[String, String]
  188. val extdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  189. val fatalWarnings: BooleanSetting
    Definition Classes
    Warnings
  190. val feature: BooleanSetting
    Definition Classes
    StandardScalaSettings
  191. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  192. val future: BooleanSetting

    Groups of Settings.

    Groups of Settings.

    Definition Classes
    ScalaSettings
  193. val g: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  194. val genPhaseGraph: StringSetting
    Definition Classes
    ScalaSettings
  195. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  196. def hashCode(): Int
    Definition Classes
    AbsSettings → AnyRef → Any
  197. val help: BooleanSetting
    Definition Classes
    StandardScalaSettings
  198. lazy val hiddenImplicits: Set[String]
  199. val imports: MultiStringSetting
    Definition Classes
    ScalaSettings
  200. def infoSettings: collection.immutable.List[Setting]

    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.

    Definition Classes
    ScalaSettings
  201. def inlineHelp: String
    Definition Classes
    ScalaSettings
  202. implicit def installEnableSettings[T <: BooleanSetting](s: T): EnableSettings[T]
    Attributes
    protected
    Definition Classes
    MutableSettings
  203. final def isDebug: Boolean
    Implicit
    This member is added by an implicit conversion from Settings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  204. final def isDeveloper: Boolean
    Implicit
    This member is added by an implicit conversion from Settings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  205. def isInfo: Boolean

    Is an info setting set? Any -option:help?

    Is an info setting set? Any -option:help?

    Definition Classes
    ScalaSettings
  206. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  207. def isScaladoc: Boolean

    Test whether this is scaladoc we're looking at

    Test whether this is scaladoc we're looking at

    Definition Classes
    SettingsScalaSettings
  208. val isScaladocSpecific: (String) => Boolean
  209. val javabootclasspath: PathSetting
    Definition Classes
    StandardScalaSettings
  210. val javaextdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  211. val jdkApiDocBase: StringSetting
  212. val jvmargs: PrefixSetting
    Definition Classes
    ScalaSettings
  213. val language: MultiChoiceSetting[languageFeatures.type]
    Definition Classes
    ScalaSettings
  214. val lint: MultiChoiceSetting[LintWarnings.type]
    Definition Classes
    Warnings
  215. def lintArgDiscard: Boolean
    Definition Classes
    Warnings
  216. def lintDeprecation: Boolean
    Definition Classes
    Warnings
  217. def lintImplicitNotFound: Boolean
    Definition Classes
    Warnings
  218. def lintImplicitRecursion: Boolean
    Definition Classes
    Warnings
  219. def lintIntDivToFloat: Boolean
    Definition Classes
    Warnings
  220. def lintNumericMethods: Boolean
    Definition Classes
    Warnings
  221. def lintUniversalMethods: Boolean
    Definition Classes
    Warnings
  222. def lintUnused: Boolean
    Definition Classes
    Warnings
  223. def lintValPatterns: Boolean
    Definition Classes
    Warnings
  224. val log: PhasesSetting
    Definition Classes
    ScalaSettings
  225. val logFreeTerms: BooleanSetting
    Definition Classes
    ScalaSettings
  226. val logFreeTypes: BooleanSetting
    Definition Classes
    ScalaSettings
  227. val logImplicitConv: BooleanSetting
    Definition Classes
    ScalaSettings
  228. val logReflectiveCalls: BooleanSetting
    Definition Classes
    ScalaSettings
  229. def lookupSetting(cmd: String): Option[Setting]
    Definition Classes
    AbsSettings
  230. val mainClass: StringSetting
    Definition Classes
    ScalaSettings
  231. val maxerrs: IntSetting
    Definition Classes
    ScalaSettings
  232. val maxwarns: IntSetting
    Definition Classes
    ScalaSettings
  233. def multiargInfix: Boolean
    Definition Classes
    Warnings
  234. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  235. val noCompletion: BooleanSetting
    Definition Classes
    ScalaSettings
  236. val noForwarders: BooleanSetting
    Definition Classes
    ScalaSettings
  237. val noassertions: settings.ScalaSettings.noassertions.stabilizer$1.type.s.type forSome {val stabilizer$1: EnableSettings[BooleanSetting]}
    Definition Classes
    ScalaSettings
  238. val nobootcp: BooleanSetting
    Definition Classes
    ScalaSettings
  239. val noimports: BooleanSetting
    Definition Classes
    ScalaSettings
  240. val nonStrictPatmatAnalysis: BooleanSetting
    Definition Classes
    ScalaSettings
  241. val nopredef: BooleanSetting
    Definition Classes
    ScalaSettings
  242. val nospecialization: BooleanSetting
    Definition Classes
    ScalaSettings
  243. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  244. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  245. val nowarn: BooleanSetting
    Definition Classes
    StandardScalaSettings
  246. def nowarnings: BooleanSetting
    Definition Classes
    ScalaSettings
  247. val opt: MultiChoiceSetting[optChoices.type]
    Definition Classes
    ScalaSettings
  248. def optAddToBytecodeRepository: Boolean
    Definition Classes
    ScalaSettings
  249. def optAllowSkipClassLoading: Boolean
    Definition Classes
    ScalaSettings
  250. def optAllowSkipCoreModuleInit: Boolean
    Definition Classes
    ScalaSettings
  251. def optAssumeModulesNonNull: Boolean
    Definition Classes
    ScalaSettings
  252. def optBoxUnbox: Boolean
    Definition Classes
    ScalaSettings
  253. def optBuildCallGraph: Boolean
    Definition Classes
    ScalaSettings
  254. def optClosureInvocations: Boolean
    Definition Classes
    ScalaSettings
  255. def optCompactLocals: Boolean
    Definition Classes
    ScalaSettings
  256. def optCopyPropagation: Boolean
    Definition Classes
    ScalaSettings
  257. def optInlineFrom: List[String]
    Definition Classes
    ScalaSettings
  258. def optInlinerEnabled: Boolean
    Definition Classes
    ScalaSettings
  259. def optNone: Boolean
    Definition Classes
    ScalaSettings
  260. def optNullnessTracking: Boolean
    Definition Classes
    ScalaSettings
  261. def optRedundantCasts: Boolean
    Definition Classes
    ScalaSettings
  262. def optSimplifyJumps: Boolean
    Definition Classes
    ScalaSettings
  263. def optUnreachableCode: Boolean
    Definition Classes
    ScalaSettings
  264. def optUseAnalyzerCache: Boolean
    Definition Classes
    ScalaSettings
  265. def optWarningEmitAtInlineFailed: Boolean
    Definition Classes
    ScalaSettings
  266. def optWarningNoInlineMissingBytecode: Boolean
    Definition Classes
    ScalaSettings
  267. def optWarningNoInlineMissingScalaInlineInfoAttr: Boolean
    Definition Classes
    ScalaSettings
  268. def optWarningNoInlineMixed: Boolean
    Definition Classes
    ScalaSettings
  269. val optWarnings: MultiChoiceSetting[optWarningsChoices.type]
    Definition Classes
    ScalaSettings
  270. def optWarningsSummaryOnly: Boolean
    Definition Classes
    ScalaSettings
  271. val optimise: BooleanSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  272. val outdir: OutputSetting
    Definition Classes
    ScalaSettings
  273. lazy val outputDirs: OutputDirs

    A list pairing source directories with their respective output directory.

    A list pairing source directories with their respective output directory.

    Tools may set outputDirs programmatically.

    The -d commandline option sets a single directory for all sources.

    Definition Classes
    MutableSettings
  274. def parseParams(args: List[String]): List[String]

    Returns any unprocessed arguments.

    Returns any unprocessed arguments.

    Attributes
    protected
    Definition Classes
    MutableSettings
  275. val pathFactory: PathFactory
    Definition Classes
    MutableSettings
  276. val plugin: MultiStringSetting
    Definition Classes
    ScalaSettings
  277. val pluginOptions: MultiStringSetting

    -P "Plugin" settings

    -P "Plugin" settings

    Definition Classes
    ScalaSettings
  278. val pluginsDir: StringSetting
    Definition Classes
    ScalaSettings
  279. lazy val prefixSettings: collection.immutable.List[PrefixSetting]

    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.

    Definition Classes
    MutableSettings
  280. val print: BooleanSetting
    Definition Classes
    StandardScalaSettings
  281. val printArgs: StringSetting
    Definition Classes
    ScalaSettings
  282. def printLate: BooleanSetting
    Definition Classes
    ScalaSettings
  283. val printMsg: (String) => Unit
  284. val printtypes: BooleanSetting
    Definition Classes
    ScalaSettings
  285. def processArgumentString(params: String): (Boolean, List[String])
    Definition Classes
    MutableSettings
  286. def processArguments(arguments: List[String], processAll: Boolean): (Boolean, List[String])

    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)

    Definition Classes
    MutableSettings
  287. val prompt: BooleanSetting
    Definition Classes
    ScalaSettings
  288. def quickFixSilent: Boolean
    Definition Classes
    StandardScalaSettings
  289. val quickfix: MultiStringSetting
    Definition Classes
    StandardScalaSettings
  290. def recreateArgs: List[String]
    Definition Classes
    AbsSettings
  291. val release: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  292. def releaseValue: Option[String]
    Definition Classes
    StandardScalaSettings
  293. val reporter: StringSetting
    Definition Classes
    ScalaSettings
  294. val require: MultiStringSetting
    Definition Classes
    ScalaSettings
  295. val resident: BooleanSetting
    Definition Classes
    ScalaSettings
  296. val rootdir: PathSetting
    Definition Classes
    StandardScalaSettings
  297. def scalaDocSpecific: Set[Setting]
  298. var scaladocQuietRun: Boolean
  299. val script: StringSetting
    Definition Classes
    ScalaSettings
  300. val showPhases: BooleanSetting
    Definition Classes
    ScalaSettings
  301. val showPlugins: BooleanSetting
    Definition Classes
    ScalaSettings
  302. def showTreeDiff: Boolean
    Definition Classes
    ScalaSettings
  303. val skip: PhasesSetting
    Definition Classes
    ScalaSettings
  304. def skipPackage(qname: String): Boolean
  305. lazy val skipPackageNames: Set[String]
  306. val source: ScalaVersionSetting
    Definition Classes
    ScalaSettings
    Annotations
    @nowarn()
  307. val sourceReader: StringSetting
    Definition Classes
    ScalaSettings
  308. val sourcepath: PathSetting
    Definition Classes
    StandardScalaSettings
  309. def splitParams(line: String): List[String]

    Split the given line into parameters.

    Split the given line into parameters.

    Definition Classes
    MutableSettings
  310. val stopAfter: PhasesSetting
    Definition Classes
    ScalaSettings
  311. val stopBefore: PhasesSetting
    Definition Classes
    ScalaSettings
  312. def stripIndex(url: String): String
  313. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  314. val systemPath: PathSetting
    Definition Classes
    StandardScalaSettings
  315. def systemPathValue: Option[String]
    Definition Classes
    StandardScalaSettings
  316. val target: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  317. def targetValue: String
    Definition Classes
    StandardScalaSettings
  318. val termConflict: ChoiceSetting
    Definition Classes
    ScalaSettings
  319. def toConciseString: String
    Definition Classes
    AbsSettings
  320. def toString(): String
    Definition Classes
    AbsSettings → AnyRef → Any
  321. val unchecked: BooleanSetting
    Definition Classes
    StandardScalaSettings
  322. lazy val uncompilableFiles: collection.immutable.List[File]
  323. val uniqid: BooleanSetting
    Definition Classes
    StandardScalaSettings
  324. def unitSpecialization: Boolean
    Definition Classes
    Warnings
  325. val unsafe: MultiStringSetting
    Definition Classes
    ScalaSettings
  326. val usejavacp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  327. val usemanifestcp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  328. def userSetSettings: List[Setting]
    Definition Classes
    AbsSettings
  329. val verbose: BooleanSetting
    Definition Classes
    StandardScalaSettings
  330. val version: BooleanSetting
    Definition Classes
    StandardScalaSettings
  331. val visibilityPrivate: BooleanSetting
  332. def visibleSettings: List[Setting]
    Definition Classes
    AbsSettings
  333. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  334. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  335. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  336. def warnAdaptedArgs: Boolean
    Definition Classes
    Warnings
  337. def warnByNameImplicit: Boolean
    Definition Classes
    Warnings
  338. def warnCaptured: Boolean
    Definition Classes
    Warnings
  339. def warnCloneableObject: Boolean
    Definition Classes
    Warnings
  340. def warnConstant: Boolean
    Definition Classes
    Warnings
  341. val warnDeadCode: BooleanSetting
    Definition Classes
    Warnings
  342. def warnDelayedInit: Boolean
    Definition Classes
    Warnings
  343. def warnDocDetached: Boolean
    Definition Classes
    Warnings
  344. def warnEtaSam: Boolean
    Definition Classes
    Warnings
  345. def warnEtaZero: Boolean
    Definition Classes
    Warnings
  346. val warnExtraImplicit: BooleanSetting
    Definition Classes
    Warnings
  347. def warnInaccessible: Boolean
    Definition Classes
    Warnings
  348. def warnInferAny: Boolean
    Definition Classes
    Warnings
  349. val warnMacros: ChoiceSetting
    Definition Classes
    Warnings
  350. def warnMissingInterpolator: Boolean
    Definition Classes
    Warnings
  351. val warnNonUnitIf: BooleanSetting
    Definition Classes
    Warnings
  352. val warnNonUnitStatement: settings.Warnings.warnNonUnitStatement._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}
    Definition Classes
    Warnings
  353. def warnNonlocalReturn: Boolean
    Definition Classes
    Warnings
  354. def warnNullaryUnit: Boolean
    Definition Classes
    Warnings
  355. val warnNumericWiden: BooleanSetting
    Definition Classes
    Warnings
  356. val warnOctalLiteral: BooleanSetting
    Definition Classes
    Warnings
  357. def warnOptionImplicit: Boolean
    Definition Classes
    Warnings
  358. def warnPackageObjectClasses: Boolean
    Definition Classes
    Warnings
  359. def warnPatternShadow: Boolean
    Definition Classes
    Warnings
  360. val warnPerformance: MultiChoiceSetting[PerformanceWarnings.type]
    Definition Classes
    Warnings
  361. def warnPolyImplicitOverload: Boolean
    Definition Classes
    Warnings
  362. def warnPrivateShadow: Boolean
    Definition Classes
    Warnings
  363. def warnRecurseWithDefault: Boolean
    Definition Classes
    Warnings
  364. def warnSerialization: Boolean
    Definition Classes
    Warnings
  365. def warnStarsAlign: Boolean
    Definition Classes
    Warnings
  366. def warnStrictUnsealedPatMat: Boolean
    Definition Classes
    Warnings
  367. val warnToString: BooleanSetting
    Definition Classes
    Warnings
  368. def warnTypeParameterShadow: Boolean
    Definition Classes
    Warnings
  369. val warnUnnamedBoolean: BooleanSetting
    Definition Classes
    Warnings
  370. val warnUnnamedStrict: settings.Warnings.warnUnnamedStrict._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}
    Definition Classes
    Warnings
  371. val warnUnused: MultiChoiceSetting[UnusedWarnings.type]
    Definition Classes
    Warnings
  372. def warnUnusedExplicits: Boolean
    Definition Classes
    Warnings
  373. def warnUnusedImplicits: Boolean
    Definition Classes
    Warnings
  374. def warnUnusedImport: Boolean
    Definition Classes
    Warnings
  375. def warnUnusedLocals: Boolean
    Definition Classes
    Warnings
  376. def warnUnusedNowarn: Boolean
    Definition Classes
    Warnings
  377. def warnUnusedParams: Boolean
    Definition Classes
    Warnings
  378. def warnUnusedPatVars: Boolean
    Definition Classes
    Warnings
  379. def warnUnusedPrivates: Boolean
    Definition Classes
    Warnings
  380. def warnUnusedSynthetics: Boolean
    Definition Classes
    Warnings
  381. val warnValueDiscard: BooleanSetting
    Definition Classes
    Warnings
  382. val warnValueOverrides: BooleanSetting
    Definition Classes
    Warnings
  383. def withErrorFn(errorFn: (String) => Unit): nsc.Settings
    Definition Classes
    SettingsMutableSettings
  384. object hardcoded

    This is the hardcoded area of Scaladoc.

    This is the hardcoded area of Scaladoc. This is where "undesirable" stuff gets eliminated. I know it's not pretty, but ultimately scaladoc has to be useful. :)

  385. object CachePolicy
    Definition Classes
    ScalaSettings
  386. object MacroExpand
    Definition Classes
    ScalaSettings
  387. object XxmlSettings extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  388. object languageFeatures extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  389. object mixinForwarderChoices
    Definition Classes
    ScalaSettings
  390. object optChoices extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  391. object optWarningsChoices extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  392. object sourceFeatures extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  393. object LintWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings
  394. object PerformanceWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings
  395. object UnusedWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings

Deprecated Value Members

  1. def Xchecknull: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) This option is being removed

  2. def Xwarnfatal: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use fatalWarnings

  3. val Yreplsync: BooleanSetting
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13) Unused setting will be removed

  4. def Ywarndeadcode: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use warnDeadCode

  5. def d: OutputSetting
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.2) Use outdir instead.

  6. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Settings toStringFormat[Settings] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  7. def isScala3: Boolean
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.9) Use currentRun.isScala3 instead

  8. val warnSelfImplicit: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.3) Use lintImplicitRecursion

  9. val xoptInlineFrom: MultiStringSetting
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.8) Deprecated alias

  10. val xoptWarnings: MultiChoiceSetting[optWarningsChoices.type]
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.8) Deprecated alias

  11. def [B](y: B): (Settings, B)
    Implicit
    This member is added by an implicit conversion from Settings toArrowAssoc[Settings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from nsc.Settings

Inherited from MutableSettings

Inherited from ScalaSettings

Inherited from Warnings

Inherited from StandardScalaSettings

Inherited from AbsSettings

Inherited from MutableSettings

Inherited from AbsSettings

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion SettingsOps fromSettings to SettingsOps

Inherited by implicit conversion any2stringadd fromSettings to any2stringadd[Settings]

Inherited by implicit conversion StringFormat fromSettings to StringFormat[Settings]

Inherited by implicit conversion Ensuring fromSettings to Ensuring[Settings]

Inherited by implicit conversion ArrowAssoc fromSettings to ArrowAssoc[Settings]

Ungrouped