|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.pivot.options.ParsingOptions
public class ParsingOptions
Options applicable to Environment
s to
customize their parsing behaviour.
Field Summary | |
---|---|
static Option<java.lang.Boolean> |
DEFINITION_CONSTRAINS_FEATURE
Deprecated. This Classic OCL API is not used by the Pivot. |
static Option<?> |
IMPLICIT_ROOT_CLASS
Deprecated. This Classic OCL API is not used by the Pivot. |
static Option<java.lang.Boolean> |
SUPPORT_STATIC_FEATURES
Deprecated. This Classic OCL API is not used by the Pivot. |
static Option<java.lang.Boolean> |
USE_BACKSLASH_ESCAPE_PROCESSING
Deprecated. This Classic OCL API is not used by the Pivot. |
static Option<java.lang.Boolean> |
USE_COMPARE_TO_OPERATION
Deprecated. This Classic OCL API is not used by the Pivot. |
static Option<java.lang.Boolean> |
WARN_OF_XOR_OR_AND_PRECEDENCE_CHANGE
Deprecated. This Classic OCL API is not used by the Pivot. |
Method Summary | ||
---|---|---|
static
|
getValue(Environment env,
Option<T> option)
Obtains the value of the specified option's setting in the the given environment's options map, adapting the environment as necessary to the Customizable API. |
|
static Option<Type> |
implicitRootClass(Environment env)
Deprecated. This Classic OCL API is not used by the Pivot. |
|
static
|
setOption(Environment env,
Option<T> option,
T value)
Add an option to apply to the specified environment, adapting it as necessary to the Customizable API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated @NonNull public static final Option<java.lang.Boolean> DEFINITION_CONSTRAINS_FEATURE
@Deprecated @NonNull public static final Option<java.lang.Boolean> USE_COMPARE_TO_OPERATION
@Deprecated @NonNull public static final Option<java.lang.Boolean> WARN_OF_XOR_OR_AND_PRECEDENCE_CHANGE
@Deprecated @NonNull public static final Option<?> IMPLICIT_ROOT_CLASS
@Deprecated @NonNull public static final Option<java.lang.Boolean> USE_BACKSLASH_ESCAPE_PROCESSING
@Deprecated @NonNull public static final Option<java.lang.Boolean> SUPPORT_STATIC_FEATURES
Method Detail |
---|
@Deprecated @NonNull public static Option<Type> implicitRootClass(@NonNull Environment env)
public static <T> void setOption(@NonNull Environment env, @NonNull Option<T> option, @Nullable T value)
Customizable
API.
env
- an environment on which to set an optionoption
- the optionvalue
- the option's valueCustomizable.setOption(Option, Object)
@Nullable public static <T> T getValue(@NonNull Environment env, @NonNull Option<T> option)
Customizable
API. If not already set, return the option's
default value.
env
- an environment on which to query an optionoption
- an option to query
Customizable.getValue(Option)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |