dotty.tools.dotc.config.CompilerCommand.scala Maven / Gradle / Ivy
The newest version!
package dotty.tools.dotc
package config
import java.nio.file.{Files, Paths}
import Settings._
import core.Contexts._
import Properties._
import scala.collection.JavaConverters._
object CompilerCommand {
/** The name of the command */
def cmdName: String = "dotc"
private def explainAdvanced = """
|-- Notes on option parsing --
|Boolean settings are always false unless set.
|Where multiple values are accepted, they should be comma-separated.
| example: -Xplugin:plugin1,plugin2
| means one or a comma-separated list of:
| - (partial) phase names with an optional "+" suffix to include the next phase
| - the string "all"
| example: -Xprint:all prints all phases.
| example: -Xprint:front,mixin prints the frontend and mixin phases.
| example: -Ylog:erasure+ logs the erasure phase and the phase after the erasure phase.
| This is useful because during the tree transform of phase X, we often
| already are in phase X + 1.
"""
def shortUsage: String = s"Usage: $cmdName
© 2015 - 2025 Weber Informatics LLC | Privacy Policy