## Uses of Interface
org.eclipse.emf.ocl.parser.Environment

Packages that use Environment
org.eclipse.emf.ocl.expressions.impl: Implementation of the API for OCL expression syntax.
org.eclipse.emf.ocl.expressions.util: EMF utilities for the OCL expression syntax API.
org.eclipse.emf.ocl.helper: Definition of the OCL Helper API for syntax completion support and a simplified parsing model.
org.eclipse.emf.ocl.internal.parser
org.eclipse.emf.ocl.parser: Definition of the extensible environment API for OCL parsing and evaluation.
org.eclipse.emf.ocl.types.impl: Implementation of the API for OCL types.

Uses of Environment in org.eclipse.emf.ocl.expressions.impl

Methods in org.eclipse.emf.ocl.expressions.impl that return Environment
`protected Environment` `ValidationVisitorImpl.getEnvironment(ASTNode node)` Obtains the current environment, which may be inferred from the context of the constraint that we are validating.

Methods in org.eclipse.emf.ocl.expressions.impl with parameters of type Environment
`static Visitor` `ValidationVisitorImpl.getInstance(Environment environment)` Obtains an instance of the validation visitor that validates against the specified environment, which presumably was used in parsing the OCL in the first place.

Uses of Environment in org.eclipse.emf.ocl.expressions.util

Methods in org.eclipse.emf.ocl.expressions.util that return Environment
`static Environment` `ExpressionsUtil.createClassifierContext(EClassifier classifier)` Deprecated. Creates an environment for OCL constraints in the context of the specified `classifier`.
`static Environment` `ExpressionsUtil.createOperationContext(EClassifier classifier, EOperation operation)` Deprecated. Creates an environment for OCL constraints in the context of the specified `classifier` and `operation`.
`static Environment` `ExpressionsUtil.createOperationContext(EOperation operation)` Deprecated. Creates an environment for OCL constraints in the context of the specified `operation`.
`static Environment` `ExpressionsUtil.createPropertyContext(EClassifier classifier, EStructuralFeature property)` Deprecated. Creates an environment for OCL constraints in the context of the specified `classifier` and `property`.
`static Environment` `ExpressionsUtil.createPropertyContext(EStructuralFeature property)` Deprecated. Creates an environment for OCL constraints in the context of the specified `property`.

Methods in org.eclipse.emf.ocl.expressions.util with parameters of type Environment
`static OCLExpression` `ExpressionsUtil.createBodyCondition(Environment env, String expression, boolean validate)` Deprecated. Creates an operation body condition expression in the specified environment.
`static OCLExpression` `ExpressionsUtil.createDerivedValueExpression(Environment env, String expression, boolean validate)` Deprecated. Creates a property derived value expression in the specified environment.
`static OCLExpression` `ExpressionsUtil.createInitialValueExpression(Environment env, String expression, boolean validate)` Deprecated. Creates a property initial value expression in the specified environment.
`static OCLExpression` `ExpressionsUtil.createInvariant(Environment env, String expression, boolean validate)` Deprecated. Creates an invariant constraint expression in the specified environment.
`static OCLExpression` `ExpressionsUtil.createPostcondition(Environment env, String expression, boolean validate)` Deprecated. Creates an operation postcondition constraint expression in the specified environment.
`static OCLExpression` `ExpressionsUtil.createPrecondition(Environment env, String expression, boolean validate)` Deprecated. Creates an operation precondition constraint expression in the specified environment.
`static OCLExpression` `ExpressionsUtil.createQuery(Environment env, String expression, boolean validate)` Deprecated. Creates a query expression with an arbitrary result type in the specified environment.
`static ETypedElement` `ExpressionsUtil.define(Environment env, String defExpression)` Deprecated. Defines a property or operation of the specified signature.
`static Constraint` `ExpressionsUtil.toGenericAST(Environment env, Constraint constraint)` Deprecated. Converts the specified constraint to the generic AST model.
`static OCLExpression<EClassifier>` `ExpressionsUtil.toGenericAST(Environment env, OCLExpression expression)` Deprecated. Converts the specified expression to the generic AST model.
`static Variable<EClassifier,EParameter>` `ExpressionsUtil.toGenericAST(Environment env, Variable variable)` Deprecated. Converts the specified variable to the generic AST model.

Uses of Environment in org.eclipse.emf.ocl.helper

Methods in org.eclipse.emf.ocl.helper that return Environment
`Environment` `IOCLHelper.getEnvironment()` Deprecated. Obtains the environment defining my current context classifier, operation, or property.

Uses of Environment in org.eclipse.emf.ocl.internal.parser

Classes in org.eclipse.emf.ocl.internal.parser that implement Environment
`class` `ReverseCompatibilityEnvironment`

Methods in org.eclipse.emf.ocl.internal.parser that return Environment
`static Environment` `CompatibilityUtil.getCompatibilityEnvironment(Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> environment)`

Methods in org.eclipse.emf.ocl.internal.parser with parameters of type Environment

`static Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>`

`CompatibilityUtil.getCompatibilityEnvironment(Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> parent, Environment environment, EnvironmentFactory<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> factory)`

`static EObject` `CompatibilityUtil.getNewAS(Environment env, EObject astNode)`
`static EList<EObject>` `CompatibilityUtil.getNewAS(Environment env, List<? extends EObject> astNodes)`
`static EObject` `CompatibilityUtil.getOldAS(Environment env, EObject astNode)`
`static EList<EObject>` `CompatibilityUtil.getOldAS(Environment env, List<? extends EObject> astNodes)`
`Constraint` `CompatibilityParser.parseInitOrDerValueCS(Environment env, EStructuralFeature property)`
`Constraint` `CompatibilityParser.parseInvOrDefCS(Environment env)`
`Constraint` `CompatibilityParser.parsePrePostOrBodyDeclCS(Environment env, EOperation operation)`
`Variable` `CompatibilityParser.parseVariableDeclarationCS(Environment env, boolean addToEnvironment)`

Constructors in org.eclipse.emf.ocl.internal.parser with parameters of type Environment
`CompatibilityTypeResolver(Environment env, TypeResolver oldStyle)`

Uses of Environment in org.eclipse.emf.ocl.parser

Subinterfaces of Environment in org.eclipse.emf.ocl.parser
`interface` `PersistentEnvironment` Deprecated. Use the `Environment` interface, instead.

Classes in org.eclipse.emf.ocl.parser that implement Environment
`class` `EcoreEnvironment` Deprecated. Use the `EcoreEnvironment` class, instead.

Methods in org.eclipse.emf.ocl.parser that return Environment
`Environment` `EnvironmentFactory.createClassifierContext(Object context)` Deprecated. Creates an environment suitable for parsing OCL expressions on the specified `object`, which is some classifier in the client's metamodel or an instance thereof.
`Environment` `AbstractEnvironmentFactory.createClassifierContext(Object context)` Deprecated.
`Environment` `EnvironmentFactory.createEnvironment(Environment parent)` Deprecated. Creates a child environment of a specified `parent`, for definition of nested scopes.
`Environment` `EcoreEnvironmentFactory.createEnvironment(Environment parent)` Deprecated.
`protected Environment` `EcoreEnvironmentFactory.createEnvironment(EPackage packageContext)` Deprecated. Creates an environment for OCL constraints in the context of the specified `classifier`.
`protected abstract Environment` `AbstractEnvironmentFactory.createEnvironment(EPackage packageContext)` Deprecated. Implemented by subclasses to create a new environment implementation on the specified package context.
`Environment` `EnvironmentFactory.createOperationContext(Object context, Object operation)` Deprecated. Creates an environment suitable for parsing OCL expressions on the specified `operation`, which is some operation in the client's metamodel.
`Environment` `AbstractEnvironmentFactory.createOperationContext(Object context, Object operation)` Deprecated.
`Environment` `EnvironmentFactory.createPackageContext(List pathname)` Deprecated. Creates an environment suitable for parsing OCL expressions in the specified package context.
`Environment` `EcoreEnvironmentFactory.createPackageContext(List pathname)` Deprecated.
`Environment` `AbstractEnvironmentFactory.createPackageContext(List pathname)` Deprecated.
`Environment` `EnvironmentFactory.createPropertyContext(Object context, Object property)` Deprecated. Creates an environment suitable for parsing OCL expressions on the specified `property`, which is some property in the client's metamodel.
`Environment` `AbstractEnvironmentFactory.createPropertyContext(Object context, Object property)` Deprecated.
`Environment` `Environment.getParent()` Deprecated. get the parent environment
`Environment` `EcoreEnvironment.getParent()` Deprecated. get the parent environment

Methods in org.eclipse.emf.ocl.parser with parameters of type Environment
`Environment` `EnvironmentFactory.createEnvironment(Environment parent)` Deprecated. Creates a child environment of a specified `parent`, for definition of nested scopes.
`Environment` `EcoreEnvironmentFactory.createEnvironment(Environment parent)` Deprecated.
`void` `Environment.setParent(Environment env)` Deprecated. Set the parent environment
`void` `EcoreEnvironment.setParent(Environment env)` Deprecated. Set the parent environment

Constructors in org.eclipse.emf.ocl.parser with parameters of type Environment
`EcoreEnvironment(Environment parent)` Deprecated.

Uses of Environment in org.eclipse.emf.ocl.types.impl

Methods in org.eclipse.emf.ocl.types.impl with parameters of type Environment
`static void` `TypeUtil.resolveAdditionalFeatures(EClassifier owner, Environment env)`
`static EClassifier` `TypeUtil.resolveType(Environment env, EClassifier type)` Resolves the specified type against the model-based types defined by the specified environment's type resolver, for consistency with the environment (especially for persistence).

Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved.