public class LogicalVariableHandler extends java.lang.Object implements SMTHandler
SMTHandler.Capability
Constructor and Description |
---|
LogicalVariableHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Operator op)
Query if this handler can translate an operator.
|
SExpr |
handle(MasterHandler trans,
Term term)
Translate the given term into an SMT SExpression.
|
void |
init(MasterHandler masterHandler,
Services services,
java.util.Properties handlerSnippets)
Initialise this handler.
|
static SExpr |
makeVarDecl(java.lang.String name,
Sort sort) |
static SExpr |
makeVarRef(java.lang.String name,
Sort sort) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canHandle, getProperties
public void init(MasterHandler masterHandler, Services services, java.util.Properties handlerSnippets)
SMTHandler
init
in interface SMTHandler
services
- the non-null services object which is relevant for
this handlerhandlerSnippets
- the snippets loaded for this handler, null if no
snippet property file is available for this handlerpublic boolean canHandle(Operator op)
SMTHandler
canHandle
in interface SMTHandler
op
- a non-null operator to translatepublic SExpr handle(MasterHandler trans, Term term)
SMTHandler
SMTHandler.canHandle(Term)
returned
true for the same term argument.
The translation may add to the set of assumptions and declarations using
corresponding calls to the MasterHandler
that it receives.handle
in interface SMTHandler
trans
- the non-null master handler to which it belongsterm
- the non-null term to translateCopyright © 2003-2019 The KeY-Project.