java.lang.Object
simula.compiler.utilities.Option
Compile Time Options.
Link to GitHub: Source File.
- Author:
- Øystein Myhre Andersen
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
Source file is case sensitive.static boolean
Debug optionstatic boolean
Disable all language extensions.static boolean
Debug optionstatic boolean
INLINE_TESTING on/offstatic File
Used by Java-Coding to save the generated .java files.static boolean
Debug optionstatic boolean
Don't execute generated .jar filestatic boolean
Debug optionstatic String
Runtime Optionsstatic String
Runtime Optionsstatic boolean
S-PORT extensions on/offstatic boolean
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic int
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic boolean
Debug optionstatic int
Debug optionstatic boolean
Output messages about what the compiler is doing.static boolean
Generate no warnings -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static JCheckBox
Editor Utility: Create a checkBox with tooltips.static boolean
Returns the option name 'id'static void
Initiate Compiler optionsstatic void
Editor Utility: Select Compiler Options.static void
Set the option named 'id' to the given value
-
Field Details
-
INLINE_TESTING
public static boolean INLINE_TESTINGINLINE_TESTING on/off -
CaseSensitive
public static boolean CaseSensitiveSource file is case sensitive. -
verbose
public static boolean verboseOutput messages about what the compiler is doing. -
WARNINGS
public static boolean WARNINGSGenerate no warnings -
noExecution
public static boolean noExecutionDon't execute generated .jar file -
EXTENSIONS
public static boolean EXTENSIONSDisable all language extensions. In other words, follow the Simula Standard literally -
SPORT
public static boolean SPORTS-PORT extensions on/off -
keepJava
Used by Java-Coding to save the generated .java files. If not set, a temp directory is used/created. -
TRACING
public static boolean TRACINGDebug option -
DEBUGGING
public static boolean DEBUGGINGDebug option -
TRACE_SCAN
public static boolean TRACE_SCANDebug option -
TRACE_COMMENTS
public static boolean TRACE_COMMENTSDebug option -
TRACE_PARSE
public static boolean TRACE_PARSEDebug option -
PRINT_SYNTAX_TREE
public static boolean PRINT_SYNTAX_TREEDebug option -
TRACE_ATTRIBUTE_OUTPUT
public static boolean TRACE_ATTRIBUTE_OUTPUTDebug option -
TRACE_ATTRIBUTE_INPUT
public static boolean TRACE_ATTRIBUTE_INPUTDebug option -
TRACE_CHECKER
public static boolean TRACE_CHECKERDebug option -
TRACE_CHECKER_OUTPUT
public static boolean TRACE_CHECKER_OUTPUTDebug option -
TRACE_FIND_MEANING
public static int TRACE_FIND_MEANINGDebug option -
TRACE_CODING
public static boolean TRACE_CODINGDebug option -
GNERATE_LINE_CALLS
public static boolean GNERATE_LINE_CALLSDebug option -
USE_FILE_CLASS_API
public static int USE_FILE_CLASS_APIDebug option -
TRACE_BYTECODE_OUTPUT
public static boolean TRACE_BYTECODE_OUTPUTDebug option -
LIST_REPAIRED_INSTRUCTION_LIST
public static boolean LIST_REPAIRED_INSTRUCTION_LISTDebug option -
TRACE_REPAIRING
public static boolean TRACE_REPAIRINGDebug option -
SOURCE_FILE
Runtime Options -
RUNTIME_USER_DIR
Runtime Options
-
-
Constructor Details
-
Option
private Option()The default constructor
-
-
Method Details
-
InitCompilerOptions
public static void InitCompilerOptions()Initiate Compiler options -
getOption
Returns the option name 'id'- Parameters:
id
- option id- Returns:
- the option name 'id'
-
setOption
Set the option named 'id' to the given value- Parameters:
id
- option idval
- new option value
-
selectCompilerOptions
public static void selectCompilerOptions()Editor Utility: Select Compiler Options. -
checkBox
Editor Utility: Create a checkBox with tooltips.- Parameters:
id
- option idtooltip
- option's tooltip or null- Returns:
- the resulting check box
-