ida.pelab.cgn.TextComment
Class CommentCodeGenerator
java.lang.Object
ida.pelab.cgn.TextComment.CommentCodeGenerator
- All Implemented Interfaces:
- ICodeGenerator
public class CommentCodeGenerator
- extends java.lang.Object
- implements ICodeGenerator
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentCodeGenerator
public CommentCodeGenerator()
generateCode
public TEXTAnotation generateCode(MatchedInstance matchedInstance)
- Specified by:
generateCode
in interface ICodeGenerator
runExtraOperation
public void runExtraOperation(cetus.hir.Traversable irTreeRoot)
- Description copied from interface:
ICodeGenerator
- This function can be used to implement the extra operations that should be applied to the IR based on the target architecture.
- Specified by:
runExtraOperation
in interface ICodeGenerator
hideCode
public boolean hideCode()
- Specified by:
hideCode
in interface ICodeGenerator
setArchitecture
public void setArchitecture(TargetArchitecture architecture)
getArchitecture
public TargetArchitecture getArchitecture()
getLevel
public PatternLevel getLevel()
- Specified by:
getLevel
in interface ICodeGenerator