CompilerCommand
dotty.tools.dotc.config.CompilerCommand
abstract class CompilerCommand extends CliCommand
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
object ScalacCommand.typeobject ReplCommand.type
Members list
Value members
Concrete methods
Inherited methods
protected def availableOptionsMsg(p: Setting[_] => Boolean)(using settings: ConcreteSettings)(using SettingsState): String
Creates a help message for a subset of options based on cond
def checkUsage(summary: ArgsSummary, sourcesRequired: Boolean)(using settings: ConcreteSettings)(using SettingsState, Context): Option[List[String]]
Provide usage feedback on argument summary, assuming that all settings are already applied in context.
Provide usage feedback on argument summary, assuming that all settings are already applied in context.
Attributes
- Returns
-
Either Some list of files passed as arguments or None if further processing should be interrupted.
- Inherited from:
- CliCommand
The name of the command
protected def createUsageMsg(label: String, shouldExplain: Boolean, cond: Setting[_] => Boolean)(using settings: ConcreteSettings)(using SettingsState): String
Attributes
- Inherited from:
- CliCommand
Distill arguments into summary detailing settings, errors and files to main
Distill arguments into summary detailing settings, errors and files to main
Attributes
- Inherited from:
- CliCommand
Attributes
- Inherited from:
- CliCommand
protected def isAdvanced(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): Boolean
Attributes
- Inherited from:
- CliCommand
protected def isHelping(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): Boolean
Attributes
- Inherited from:
- CliCommand
protected def isPrivate(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): Boolean
Attributes
- Inherited from:
- CliCommand
protected def isStandard(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): Boolean
Attributes
- Inherited from:
- CliCommand
protected def isVerbose(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): Boolean
Attributes
- Inherited from:
- CliCommand
protected def isWarning(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): Boolean
Attributes
- Inherited from:
- CliCommand
Used for the formatted output of -Xshow-phases
protected def shortHelp(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): String
Attributes
- Inherited from:
- CliCommand
Attributes
- Inherited from:
- CliCommand
Messages explaining usage and options
Attributes
- Inherited from:
- CliCommand
Attributes
- Inherited from:
- CliCommand
Attributes
- Inherited from:
- CliCommand
Attributes
- Inherited from:
- CliCommand
Attributes
- Inherited from:
- CliCommand
Extensions
Inherited extensions
extension (s: String)(s: String)
Attributes
- Inherited from:
- CliCommand
extension [T](setting: Setting[T])(setting: Setting[T])
Attributes
- Inherited from:
- CliCommand
In this article