Interface CheckResult<N,​E,​S>

Type Parameters:
N - The node type in the AST
E - The expression type
S - The scope type (optional)
All Known Implementing Classes:
AbstractCheckResult

public interface CheckResult<N,​E,​S>
An interface for the results of preparatory transformations.

Implementations of PreparatoryTransformation.canPerform(de.monochromata.anaphors.cog.memory.Chunk, Object, Object) may return implementations that add information that can be re-used in PreparatoryTransformation.perform(CheckResult, ASTBasedAnaphora) , e.g. when the check includes an expensive search operation whose results are supplied to PreparatoryTransformation.perform(CheckResult, ASTBasedAnaphora) .

See Also:
PreparatoryTransformation.canPerform(de.monochromata.anaphors.cog.memory.Chunk, Object, Object), PreparatoryTransformation.perform(CheckResult, ASTBasedAnaphora)