Package jamopp.options
Enum Class ParserOptions
- All Implemented Interfaces:
Serializable
,Comparable<ParserOptions>
,Constable
Options for the single file parser.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf this option is true, a minimal layout information is stored for every model element during the parsing.If the binding-based resolution is executed and the reference resolution encounters a reference for which a binding is available and a mapping to a physical file, this option controls if the file is loaded or the binding is converted.If this option is true, the mapping between logical and physical URIs in the JavaClasspath are only stored for the ResourceSet of a corresponding model element.If the binding-based resolution is executed by RESOLVE_BINDINGS and this option is true, references are transitively and recursively resolved with bindings.Controls the binding-based resolution.If this option is true, the bindings of variables with var as type are used to resolve the type.If this option is true, references without bindings are resolved during the binding-based resolution. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
boolean
isTrue()
void
static ParserOptions
Returns the enum constant of this class with the specified name.static ParserOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESOLVE_ALL_BINDINGS
If the binding-based resolution is executed by RESOLVE_BINDINGS and this option is true, references are transitively and recursively resolved with bindings. -
RESOLVE_BINDINGS
Controls the binding-based resolution. If the option is true, bindings are used to resolve references directly after the parsing. -
RESOLVE_BINDINGS_OF_INFERABLE_TYPES
If this option is true, the bindings of variables with var as type are used to resolve the type. -
CREATE_LAYOUT_INFORMATION
If this option is true, a minimal layout information is stored for every model element during the parsing. If the option is not set or set to false, no layout information is created. -
PREFER_BINDING_CONVERSION
If the binding-based resolution is executed and the reference resolution encounters a reference for which a binding is available and a mapping to a physical file, this option controls if the file is loaded or the binding is converted. If the option is true, bindings are converted without loading the file. Otherwise, the file is loaded. -
RESOLVE_EVERYTHING
If this option is true, references without bindings are resolved during the binding-based resolution. -
REGISTER_LOCAL
If this option is true, the mapping between logical and physical URIs in the JavaClasspath are only stored for the ResourceSet of a corresponding model element.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
setValue
-
getValue
-
isTrue
public boolean isTrue()
-