blob: 6ad82454e56cb81f67aa49d878aae363feea44ac (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/* NSC -- new Scala compiler
* Copyright 2005-2010 LAMP/EPFL
* @author Paul Phillips
*/
package scala.tools.nsc
package settings
/** Settings which aren't behind a -X, -Y, or -P option.
* Wherever possible, the val and the option have identical.
* names.
*/
trait StandardScalaSettings {
self: AbsScalacSettings =>
/** Path related settings.
*/
val bootclasspath: PathSetting
val classpath: PathSetting
val d: OutputSetting
val extdirs: PathSetting
val g: ChoiceSetting
val javabootclasspath: PathSetting
val javaextdirs: PathSetting
val javaignorecp: BooleanSetting
val sourcepath: StringSetting
/** Other settings.
*/
val dependencyfile: StringSetting
val deprecation: BooleanSetting
val encoding: StringSetting
val explaintypes: BooleanSetting
val help: BooleanSetting
val make: ChoiceSetting
val nowarn: BooleanSetting
val optimise: BooleanSetting
val print: BooleanSetting
val target: ChoiceSetting
val unchecked: BooleanSetting
val uniqid: BooleanSetting
val verbose: BooleanSetting
val version: BooleanSetting
/** These are @<file> and -Dkey=val style settings, which don't
* nicely map to identifiers.
*/
val argfiles: BooleanSetting
val defines: DefinesSetting
/** Compatibility stubs for options whose value name did
* not previously match the option name.
*/
def XO = optimise
def debuginfo = g
def dependenciesFile = dependencyfile
def nowarnings = nowarn
def outdir = d
def printLate = print
}
|