blob: 70771ea791e0c68492a52095bfa68b16bbf806da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*******************************************************************************
* Copyright (c) 2010-2017, Grill Balázs, IncQueryLabs
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-v20.html.
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package tools.refinery.viatra.runtime.matchers.psystem.rewriters;
import tools.refinery.viatra.runtime.matchers.psystem.PTraceable;
/**
* This is the internal API of {@link IPTraceableTraceProvider} expected to be used by
* copier and rewriter implementations.
*
* @since 1.6
* @noreference This interface is not intended to be referenced by clients.
*/
public interface IRewriterTraceCollector extends IPTraceableTraceProvider {
/**
* Mark the given derivative to be originated from the given original constraint.
*/
public void addTrace(PTraceable origin, PTraceable derivative);
/**
* Indicate that the given derivative is removed from the resulting query, thus its trace
* information should be removed also.
*/
public void derivativeRemoved(PTraceable derivative, IDerivativeModificationReason reason);
}
|