ida.pelab.cgn.TextComment
Class CommentCodeGenerator

java.lang.Object
  extended by ida.pelab.cgn.TextComment.CommentCodeGenerator
All Implemented Interfaces:
ICodeGenerator

public class CommentCodeGenerator
extends java.lang.Object
implements ICodeGenerator


Constructor Summary
CommentCodeGenerator()
           
 
Method Summary
 TEXTAnotation generateCode(MatchedInstance matchedInstance)
           
 TargetArchitecture getArchitecture()
           
 PatternLevel getLevel()
           
 boolean hideCode()
           
 void runExtraOperation(cetus.hir.Traversable irTreeRoot)
          This function can be used to implement the extra operations that should be applied to the IR based on the target architecture.
 void setArchitecture(TargetArchitecture architecture)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentCodeGenerator

public CommentCodeGenerator()
Method Detail

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