Class TranslatorToCAst.LoopContext<C extends TranslatorToCAst.WalkContext<C,T> , T>
java.lang.Object
com.ibm.wala.cast.ir.translator.TranslatorToCAst.DelegatingContext<C,T>
com.ibm.wala.cast.ir.translator.TranslatorToCAst.BreakContext<C,T>
com.ibm.wala.cast.ir.translator.TranslatorToCAst.LoopContext<C,T>
- All Implemented Interfaces:
TranslatorToCAst.WalkContext<C,T>
- Enclosing interface:
TranslatorToCAst
public static class TranslatorToCAst.LoopContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
extends TranslatorToCAst.BreakContext<C,T>
-
Field Summary
Fields inherited from class TranslatorToCAst.BreakContext
labelFields inherited from class TranslatorToCAst.DelegatingContext
parent -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLoopContext(C parent, T breakTo, T continueTo, String label) -
Method Summary
Modifier and TypeMethodDescriptionfor a 'continue' style goto, return the control flow targetMethods inherited from class TranslatorToCAst.BreakContext
getBreakForModifier and TypeMethodDescriptionfor a 'break' style goto, return the control flow targetMethods inherited from class TranslatorToCAst.DelegatingContext
getParent, topMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TranslatorToCAst.WalkContext
addNameDecl, addScopedEntity, cfg, getCatchTarget, getCatchTarget, getNameDecls, getNodeTypeMap, getScopedEntities, posModifier and TypeMethodDescriptiondefault voidAdd a name declaration to this context.default voidaddScopedEntity(CAstNode newNode, CAstEntity visit) associate a child entity with a given CAstNode, e.g.default CAstControlFlowRecordercfg()for recording control-flow relationships among the CAst nodesdefault CAstNodedefault CAstNodedefault CAstNodeTypeMapRecorderfor recording types of nodesdefault Map<CAstNode, Collection<CAstEntity>> get a mapping from CAstNodes to the scoped entities (e.g.default CAstSourcePositionRecorderpos()for recording source positions
-
Constructor Details
-
LoopContext
-
-
Method Details
-
getContinueFor
Description copied from interface:TranslatorToCAst.WalkContextfor a 'continue' style goto, return the control flow target
-