scala.meta.metac.Settings.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metac_2.13.15 Show documentation
Show all versions of metac_2.13.15 Show documentation
Scalac 2.x launcher that generates SemanticDB on compile
package scala.meta.metac
import scala.meta.cli._
final class Settings private (val scalacArgs: List[String]) {
private def this() = this(scalacArgs = Nil)
def withScalacArgs(scalacArgs: List[String]): Settings = copy(scalacArgs = scalacArgs)
private def copy(scalacArgs: List[String] = scalacArgs): Settings =
new Settings(scalacArgs = scalacArgs)
}
object Settings {
def parse(args: List[String], reporter: Reporter): Option[Settings] = Some(new Settings(args))
def apply(): Settings = new Settings()
}