public class RewritingTranslatorToCAst extends java.lang.Object implements TranslatorToCAst
TranslatorToCAst.BreakContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.DelegatingContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.DoLoopTranslator, TranslatorToCAst.Error, TranslatorToCAst.FunctionContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.LoopContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.RootContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.TryCatchContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>,T>| Modifier and Type | Field and Description |
|---|---|
protected com.ibm.wala.classLoader.ModuleEntry |
M |
| Constructor and Description |
|---|
RewritingTranslatorToCAst(com.ibm.wala.classLoader.ModuleEntry m2,
TranslatorToCAst base) |
| Modifier and Type | Method and Description |
|---|---|
<C extends CAstRewriter.RewriteContext<K>,K extends CAstRewriter.CopyKey<K>> |
addRewriter(CAstRewriterFactory<C,K> factory,
boolean prepend) |
CAstEntity |
translateToCAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpushSourcePositionpublic RewritingTranslatorToCAst(com.ibm.wala.classLoader.ModuleEntry m2,
TranslatorToCAst base)
public <C extends CAstRewriter.RewriteContext<K>,K extends CAstRewriter.CopyKey<K>> void addRewriter(CAstRewriterFactory<C,K> factory, boolean prepend)
addRewriter in interface TranslatorToCAstpublic CAstEntity translateToCAst() throws java.io.IOException, TranslatorToCAst.Error
translateToCAst in interface TranslatorToCAstjava.io.IOExceptionTranslatorToCAst.Error