1 | String getIncludeDefaultReferencesParameter() {↵ | | 1 | String getRemoveIntChecksParameter() {↵
|
2 | return "/nostdlib" + (includeDefaultReferences ? "-" : "+");↵ | | 2 | return "/removeintchecks" + (removeIntChecks ? "+" : "-");↵
|
3 | }↵ | | 3 | }↵
|
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * If true, enables optimization flag.↵ | | 5 | * Whether to require explicit declaration of variables.↵
|
6 | *↵ | | 6 | *↵
|
7 | *@param f on/off flag↵ | | 7 | @param flag on/off flag↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setOptimize(boolean f) {↵ | | 9 | public void setOptionExplicit(boolean flag) {↵
|
10 | optimize = f;↵ | | 10 | optionExplicit = flag;↵
|
11 | }↵ | | 11 | }↵
|
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * query the optimise flag↵ | | 13 | * ↵
|
14 | *↵ | | 14 | Get the flag for whether to require explicit declaration of variables.↵
|
15 | *@return true if optimise is turned on↵ | | 15 | *@return true if flag is turned on↵
|
16 | */↵ | | 16 | */↵
|
17 | public boolean getOptimize() {↵ | | 17 | public boolean getOptionExplicit() {↵
|
18 | return optimize;↵ | | 18 | return optionExplicit;↵
|
19 | }↵ | | 19 | }↵
|
|
|
20 | /**↵ | | 20 | /**↵
|
21 | * get the optimise flag or null for no argument needed↵ | | 21 | * Form the opti↵
|
22 | *↵ | | |
|
23 | *↵ | | 22 | on string for optionExplicit..↵
|
24 | @return The Optimize Parameter to CSC↵ | | 23 | * @return The parameter string.↵
|
25 | */↵ | | 24 | */↵
|
26 | protected String getOptimizeParameter() {↵ | | 25 | public String getOptionExplicitParameter() {↵
|
27 | return "/optimize" + (optimize ? "+" : "-");↵ | | 26 | return "/optionexplicit" + (optionExplicit ? "+" : "-");↵
|
28 | }↵ | | 27 | }↵
|
|
|
29 | /**↵ | | 28 | /**↵
|
30 | * set the debug flag on or off.↵ | | 29 | * Enforce strict language semantics.↵
|
31 | *↵ | | 30 | *↵
|
32 | *@param f on/off flag↵ | | 31 | @param flag on/off flag↵
|
33 | */↵ | | 32 | */↵
|
34 | public void setDebug(boolean f) {↵ | | 33 | public void setOptionStrict(boolean flag) {↵
|
35 | debug = f;↵ | | 34 | optionStrict = flag;↵
|
36 | }↵ | | 35 | }↵
|
|
|
37 | /**↵ | | 36 | /**↵
|
38 | * query the debug flag↵ | | 37 | * ↵
|
39 | *↵ | | 38 | Get the flag for whether to enforce strict language semantics.↵
|
40 | *@return true if debug is turned on↵ | | 39 | * @return true if flag is turned on↵
|
41 | */↵ | | 40 | */↵
|
42 | public boolean getDebug() {↵ | | 41 | public boolean getOptionStrict() {↵
|
43 | return debug;↵ | | 42 | return optionStrict;↵
|
44 | }↵ | | 43 | }↵
|
|
|
45 | /**↵ | | 44 | /**↵
|
46 | * get the debug switch argument↵ | | 45 | * For the ↵
|
47 | *↵ | | |
|
48 | *↵ | | 46 | option string for optionStrict.↵
|
49 | @return The Debug Parameter to CSC↵ | | 47 | * @return The parameter string.↵
|
50 | */↵ | | 48 | */↵
|
51 | protected String getDebugParameter() {↵ | | 49 | public String getOptionStrictParameter() {↵
|
52 | return "/debug" + (debug ? "+" : "-");↵ | | 50 | return "/optionstrict" + (optionStrict ? "+" : "-");↵
|
53 | | | 51 |
|