Class RewritingTranslatorToCAst
java.lang.Object
com.ibm.wala.cast.ir.translator.RewritingTranslatorToCAst
- All Implemented Interfaces:
TranslatorToCAst
- Direct Known Subclasses:
CAstRhinoTranslator
-
Nested Class Summary
Nested classes/interfaces inherited from interface TranslatorToCAst
TranslatorToCAst.BreakContext<C,T>, TranslatorToCAst.DelegatingContext<C, T>, TranslatorToCAst.DoLoopTranslator, TranslatorToCAst.Error, TranslatorToCAst.FunctionContext<C, T>, TranslatorToCAst.LoopContext<C, T>, TranslatorToCAst.RootContext<C, T>, TranslatorToCAst.TryCatchContext<C, T>, TranslatorToCAst.WalkContext<C, T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<C extends CAstRewriter.RewriteContext<K>, K extends CAstRewriter.CopyKey<K>>
voidaddRewriter(CAstRewriterFactory<C, K> factory, boolean prepend) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TranslatorToCAst
pushSourcePosition
-
Field Details
-
M
-
-
Constructor Details
-
RewritingTranslatorToCAst
-
-
Method Details
-
addRewriter
public <C extends CAstRewriter.RewriteContext<K>, K extends CAstRewriter.CopyKey<K>> void addRewriter(CAstRewriterFactory<C, K> factory, boolean prepend) - Specified by:
addRewriterin interfaceTranslatorToCAst
-
translateToCAst
- Specified by:
translateToCAstin interfaceTranslatorToCAst- Throws:
IOExceptionTranslatorToCAst.Error
-