01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.strategy.termProjection;
12:
13: import de.uka.ilkd.key.logic.PosInOccurrence;
14: import de.uka.ilkd.key.logic.Term;
15: import de.uka.ilkd.key.proof.Goal;
16: import de.uka.ilkd.key.rule.RuleApp;
17:
18: /**
19: * Interface for mappings from rule applications to terms. This is used, for
20: * instance, for determining the instantiation of a schema variable. We also
21: * allow projections to be partial, which is signalled by <code>toTerm</code>
22: * returning <code>null</code>
23: */
24: public interface ProjectionToTerm {
25: Term toTerm(RuleApp app, PosInOccurrence pos, Goal goal);
26: }
|