| de.uka.ilkd.key.proof.decproc.translation.IOperatorTranslation
All known Subclasses: de.uka.ilkd.key.proof.decproc.translation.TranslateModality, de.uka.ilkd.key.proof.decproc.translation.TranslateLogicVariable, de.uka.ilkd.key.proof.decproc.translation.TranslateEquality, de.uka.ilkd.key.proof.decproc.translation.TranslateProgramMethod, de.uka.ilkd.key.proof.decproc.translation.TranslateFunction, de.uka.ilkd.key.proof.decproc.translation.TranslateArrayOp, de.uka.ilkd.key.proof.decproc.translation.TranslateAttributeOp, de.uka.ilkd.key.proof.decproc.translation.TranslateIfThenElse, de.uka.ilkd.key.proof.decproc.translation.TranslateIUpdateOperator, de.uka.ilkd.key.proof.decproc.translation.TranslateQuantifier, de.uka.ilkd.key.proof.decproc.translation.TranslateMetavariable, de.uka.ilkd.key.proof.decproc.translation.TranslateUnknownOp, de.uka.ilkd.key.proof.decproc.translation.TranslateProgramVariable, de.uka.ilkd.key.proof.decproc.translation.TranslateJunctor,
IOperatorTranslation | public interface IOperatorTranslation (Code) | | This interface represents a rule for translating KeY Terms into SMT-LIB
Terms and Formulae.
A rule offers two methods: One for checking if this rule is applicable on a given
Operator of a Term and one that actually performs the translation
author: akuwertz version: version: 1.0, version: 1.1, 01/28/2006 (Added comments)
|
isApplicable | public boolean isApplicable(Operator op)(Code) | | Returns true if this translation rule can be applied to the given
Operator
Parameters: op - the Operator to be checked for applicability true iff the specified Operator can be translated by this rule |
translate | public Object translate(Operator op, TermTranslationVisitor ttVisitor)(Code) | | Returns an SMT-LIB Term or Formula as translation result of the
specified Operator
Parameters: op - the Operator to be translated Parameters: ttVisitor - the TermTranslationVisitor on which the translation is performed an SMT-LIB Term or Formula representing the translation ofthe specified Operator throws: IllegalArgumentException - if one of the arguments of the specified Operatoron the stack of ttVisitor has an illegal type throws: UnsupportedOperationException - if the specified Operator can not be translated |
|
|