blob: 76cb8e608b784888f2d30f0c437c470a356d6f34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/* NSC -- new Scala compiler
* Copyright 2006-2010 LAMP/EPFL
* @author Lex Spoon
*/
// $Id$
package scala.tools.nsc
class GenericRunnerSettings(error: String => Unit)
extends Settings(error) {
val howtorun =
ChoiceSetting(
"-howtorun",
"how to run the specified code",
List("guess", "object", "script"),
"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 savecompiled =
BooleanSetting(
"-savecompiled",
"save the compiled script (assumes the code is a script)")
val nocompdaemon =
BooleanSetting(
"-nocompdaemon",
"do not use the fsc compilation daemon")
val defines = DefinesSetting
}
|