All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.meta.metac.Settings.scala Maven / Gradle / Ivy

There is a newer version: 4.10.1
Show newest version
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()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy