public class CfgVisitorBackend extends Backend
Base class for Backend
back-ends that are
based on CfgVisitor
control flow graph model visitor.
Constructor and Description |
---|
CfgVisitorBackend(java.lang.String name,
CfgVisitor visitor,
WalkerMode mode)
Creates object with the specified model visitor.
|
Modifier and Type | Method and Description |
---|---|
protected CfgVisitor |
getVisitor()
Returns the backend's internal visitor.
|
void |
start(Entity entity)
Elaborates the specified entity.
|
debugWrite, getDebugFile, getName, isActive, setActive, setDebugFile
public CfgVisitorBackend(java.lang.String name, CfgVisitor visitor, WalkerMode mode)
name
- The backend name.visitor
- Model visitor.mode
- Mode of walking.java.lang.IllegalArgumentException
- when mode argument is null
.public void start(Entity entity)
protected CfgVisitor getVisitor()