|
Scala example source code file (GenericRunnerSettings.scala)
The GenericRunnerSettings.scala Scala example source code/* NSC -- new Scala compiler * Copyright 2006-2013 LAMP/EPFL * @author Lex Spoon */ package scala.tools.nsc import scala.tools.util.PathResolver class GenericRunnerSettings(error: String => Unit) extends Settings(error) { def classpathURLs = new PathResolver(this).asURLs val howtorun = ChoiceSetting( "-howtorun", "how", "how to run the specified code", List("object", "script", "jar", "guess"), "guess") val loadfiles = MultiStringSetting( "-i", "file", "load a file (assumes the code is given interactively)") val execute = StringSetting( "-e", "string", "execute a single command", "") val save = BooleanSetting( "-save", "save the compiled script (assumes the code is a script)") withAbbreviation "-savecompiled" val nc = BooleanSetting( "-nc", "do not use the fsc compilation daemon") withAbbreviation "-nocompdaemon" } Other Scala source code examplesHere is a short list of links related to this Scala GenericRunnerSettings.scala source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.