public final class HlddAssertSmvVisitor extends HlddSmvVisitor
ModelVisitor.Status
currentPhaseVars
Constructor and Description |
---|
HlddAssertSmvVisitor(java.lang.String fileName)
Constructs a new visitor and creates a new *.smv file.
|
Modifier and Type | Method and Description |
---|---|
void |
addAssertions(java.util.Map<java.lang.String,AssertionContainer> assertions)
Adds model assertions to the visitor.
|
void |
onModuleBegin(Module hlddModule)
Starts visiting
Module node. |
void |
onProcessBegin(ModuleProcess process)
Starts visiting
ModuleProcess node. |
void |
onProcessEnd(ModuleProcess process)
Finishes visiting
ModuleProcess node. |
void |
setSpecType(java.lang.String method)
Sets the type of specifications to be checked.
|
append, appendLine, appendLine, getCurrentModule, getExprDescription, getExprPrinter, onAssignment, onConditionBegin, onConditionEnd, onEdgeBegin, onEdgeEnd, onHlddBegin, onHlddEnd, onModelBegin, onModelEnd, onModuleEnd
onRootBegin, onRootEnd
getStatus, onRootBegin, onRootEnd, onStatementBegin, onStatementEnd
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus, onRootBegin, onRootEnd, onStatementBegin, onStatementEnd
public HlddAssertSmvVisitor(java.lang.String fileName)
fileName
- - the specified *.smv file name.public void addAssertions(java.util.Map<java.lang.String,AssertionContainer> assertions)
assertions
- - the specified assertions.public void setSpecType(java.lang.String method)
method
- The specification method.public void onModuleBegin(Module hlddModule)
ModelVisitor
Module
node.onModuleBegin
in interface ModelVisitor
onModuleBegin
in class HlddSmvVisitor
hlddModule
- Module node to be visited.public void onProcessBegin(ModuleProcess process)
ModelVisitor
ModuleProcess
node.onProcessBegin
in interface ModelVisitor
onProcessBegin
in class HlddSmvVisitor
process
- Process node to be visited.public void onProcessEnd(ModuleProcess process)
ModelVisitor
ModuleProcess
node.onProcessEnd
in interface ModelVisitor
onProcessEnd
in class HlddSmvVisitor
process
- Process node to be visited.