ScalacCommand

dotty.tools.dotc.ScalacCommand

Attributes

Graph
Supertypes
trait CliCommand
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

class Columnator(heading1: String, heading2: String, maxField: Int, separation: Int)

Attributes

Inherited from:
CliCommand
Supertypes
class Object
trait Matchable
class Any

Inherited types

Attributes

Inherited from:
CompilerCommand

Value members

Concrete methods

override def cmdName: String

The name of the command

The name of the command

Attributes

Definition Classes
override def ifErrorsMsg: String

Attributes

Definition Classes
override def versionMsg: String

Attributes

Definition Classes

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

Creates a help message for a subset of options based on cond

Attributes

Inherited from:
CliCommand
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
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
final def helpMsg(using settings: ScalaSettings)(using SettingsState, Context): String

Attributes

Inherited from:
CompilerCommand
protected def isAdvanced(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): Boolean

Attributes

Inherited from:
CliCommand
final def isHelpFlag(using settings: ScalaSettings)(using SettingsState): Boolean

Attributes

Inherited from:
CompilerCommand
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
protected def phasesMessage(using Context): String

Used for the formatted output of -Xshow-phases

Used for the formatted output of -Xshow-phases

Attributes

Inherited from:
CliCommand
protected def shortHelp(s: Setting[_])(using settings: ConcreteSettings)(using SettingsState): String

Attributes

Inherited from:
CliCommand
protected def shortUsage: String

Attributes

Inherited from:
CliCommand
protected def usageMessage(using settings: ConcreteSettings)(using SettingsState): String

Messages explaining usage and options

Messages explaining usage and options

Attributes

Inherited from:
CliCommand
protected def vusageMessage(using settings: ConcreteSettings)(using SettingsState): String

Attributes

Inherited from:
CliCommand
protected def wusageMessage(using settings: ConcreteSettings)(using SettingsState): String

Attributes

Inherited from:
CliCommand
protected def xusageMessage(using settings: ConcreteSettings)(using SettingsState): String

Attributes

Inherited from:
CliCommand
protected def yusageMessage(using settings: ConcreteSettings)(using SettingsState): String

Attributes

Inherited from:
CliCommand

Extensions

Inherited extensions

extension (s: String)
def padLeft(width: Int): String

Attributes

Inherited from:
CliCommand
extension [T](setting: Setting[T])
protected def value(using ss: SettingsState): T

Attributes

Inherited from:
CliCommand