Class NativeTranslatorToCAst
java.lang.Object
com.ibm.wala.cast.ir.translator.NativeBridge
com.ibm.wala.cast.ir.translator.NativeTranslatorToCAst
- All Implemented Interfaces:
TranslatorToCAst
common functionality for any
TranslatorToCAst making use of native code-
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> Modifier and TypeInterfaceDescriptionstatic classTranslatorToCAst.BreakContext<C extends TranslatorToCAst.WalkContext<C,T>, T> static classstatic classstatic classstatic classTranslatorToCAst.FunctionContext<C extends TranslatorToCAst.WalkContext<C,T>, T> static classTranslatorToCAst.LoopContext<C extends TranslatorToCAst.WalkContext<C,T>, T> static classTranslatorToCAst.RootContext<C extends TranslatorToCAst.WalkContext<C,T>, T> static classTranslatorToCAst.TryCatchContext<C extends TranslatorToCAst.WalkContext<C,T>, T> static interfaceTranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>, T> -
Field Summary
FieldsFields inherited from class NativeBridge
Ast -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNativeTranslatorToCAst(CAst Ast, URL sourceURL, String sourceFileName) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFile()protected Stringprotected CAstSourcePositionMap.PositionmakeLocation(int fl, int fc, int ll, int lc) abstract CAstEntityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TranslatorToCAst
addRewriter, pushSourcePositionModifier and TypeMethodDescription<C extends CAstRewriter.RewriteContext<K>, K extends CAstRewriter.CopyKey<K>>
voidaddRewriter(CAstRewriterFactory<C, K> factory, boolean prepend) default <X extends TranslatorToCAst.WalkContext<X,Y>, Y>
voidpushSourcePosition(TranslatorToCAst.WalkContext<X, Y> context, CAstNode n, CAstSourcePositionMap.Position p)
-
Field Details
-
sourceURL
-
sourceFileName
-
-
Constructor Details
-
NativeTranslatorToCAst
-
-
Method Details
-
getLocalFile
-
getFile
-
makeLocation
-
translateToCAst
- Specified by:
translateToCAstin interfaceTranslatorToCAst
-