Class TranslatorToCAst.BreakContext<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>
- All Implemented Interfaces:
TranslatorToCAst.WalkContext<C,T>
- Direct Known Subclasses:
TranslatorToCAst.LoopContext
- Enclosing interface:
TranslatorToCAst
public static class TranslatorToCAst.BreakContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
extends TranslatorToCAst.DelegatingContext<C,T>
-
Field Summary
FieldsFields inherited from class TranslatorToCAst.DelegatingContext
parent -
Constructor Summary
Constructors -
Method Summary
Modifier 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, getContinueFor, 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 TgetContinueFor(String label) for a 'continue' style goto, return the control flow targetdefault 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
-
Field Details
-
label
-
-
Constructor Details
-
BreakContext
-
-
Method Details
-
getBreakFor
Description copied from interface:TranslatorToCAst.WalkContextfor a 'break' style goto, return the control flow target
-