| /******************************************************************************* |
| * Copyright (c) 2015, 2018 Willink Transformations and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * E.D.Willink - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.qvtd.cs2as.compiler.tests; |
| |
| import java.util.List; |
| |
| import org.eclipse.jdt.annotation.NonNull; |
| import org.eclipse.jdt.annotation.Nullable; |
| import org.eclipse.ocl.pivot.NamedElement; |
| import org.eclipse.ocl.pivot.evaluation.Evaluator; |
| |
| |
| public interface Environment { |
| @NonNull Environment addElement(@Nullable NamedElement namedElement); |
| @NonNull Environment addElements(@Nullable List<? extends NamedElement> namedElements); |
| @NonNull Evaluator getEvaluator(); |
| boolean hasFinalResult(); |
| } |