Package net.emustudio.edigen
Enum Setting
- java.lang.Object
-
- java.lang.Enum<Setting>
-
- net.emustudio.edigen.Setting
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUGIf set, the program will run in the debug mode (printing the tree after each transformation).DECODER_DIRECTORYAn output directory of the generated instruction decoder file.DECODER_NAMEThe package + class name of the generated instruction decoder.DECODER_PACKAGEThe generated decoder will be a member of this package.DECODER_TEMPLATEThe external decoder template to use (instead of the internal, default template).DISASSEMBLER_DIRECTORYAn output directory of the generated disassembler file.DISASSEMBLER_NAMEThe package + class name of the generated disassembler.DISASSEMBLER_PACKAGEThe generated disassembler will be a member of this package.DISASSEMBLER_TEMPLATEThe external disassembler template to use (instead of the internal, default template).IGNORE_UNUSED_RULESIgnore unused rules.SPECIFICATIONA specification file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SettingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Setting[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPECIFICATION
public static final Setting SPECIFICATION
A specification file.
-
DECODER_NAME
public static final Setting DECODER_NAME
The package + class name of the generated instruction decoder.
-
DISASSEMBLER_NAME
public static final Setting DISASSEMBLER_NAME
The package + class name of the generated disassembler.
-
DISASSEMBLER_DIRECTORY
public static final Setting DISASSEMBLER_DIRECTORY
An output directory of the generated disassembler file.
-
DISASSEMBLER_PACKAGE
public static final Setting DISASSEMBLER_PACKAGE
The generated disassembler will be a member of this package.
-
DISASSEMBLER_TEMPLATE
public static final Setting DISASSEMBLER_TEMPLATE
The external disassembler template to use (instead of the internal, default template).
-
DEBUG
public static final Setting DEBUG
If set, the program will run in the debug mode (printing the tree after each transformation).
-
DECODER_DIRECTORY
public static final Setting DECODER_DIRECTORY
An output directory of the generated instruction decoder file.
-
DECODER_PACKAGE
public static final Setting DECODER_PACKAGE
The generated decoder will be a member of this package.
-
DECODER_TEMPLATE
public static final Setting DECODER_TEMPLATE
The external decoder template to use (instead of the internal, default template).
-
IGNORE_UNUSED_RULES
public static final Setting IGNORE_UNUSED_RULES
Ignore unused rules. If enabled, detection of unused rules will be turned off.
-
-
Method Detail
-
values
public static Setting[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Setting c : Setting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Setting valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-