public class CfgCVisitor extends CfgEmptyVisitor
ModelVisitor.Status
Modifier and Type | Method and Description |
---|---|
void |
initialize(java.lang.String outFileName,
java.lang.String template)
Initialize the object with the target file name.
|
void |
onModuleBegin(Module module)
Starts visiting
Module node. |
void |
onRootBegin()
Notifies that processing has been started.
|
void |
onRootEnd()
Notifies that processing has been finished.
|
onAssertBegin, onAssertEnd, onBlockBegin, onBlockEnd, onCaseBegin, onCaseEnd, onLoopBegin, onLoopEnd, onSwitchBegin, onSwitchEnd, onWaitBegin, onWaitEnd
getStatus, onModelBegin, onModelEnd, onModuleEnd, onProcessBegin, onProcessEnd, onStatementBegin, onStatementEnd
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus, onModelBegin, onModelEnd, onModuleEnd, onProcessBegin, onProcessEnd, onStatementBegin, onStatementEnd
public void initialize(java.lang.String outFileName, java.lang.String template)
outFileName
- The name for file to be generated by the object.template
- The path to template file.public void onRootBegin()
ModelVisitor
onRootBegin
in interface ModelVisitor
onRootBegin
in class ModelEmptyVisitor
public void onRootEnd()
ModelVisitor
onRootEnd
in interface ModelVisitor
onRootEnd
in class ModelEmptyVisitor
public void onModuleBegin(Module module)
ModelVisitor
Module
node.onModuleBegin
in interface ModelVisitor
onModuleBegin
in class ModelEmptyVisitor
module
- Module node to be visited.