Class TranslatorToCAst.TryCatchContext<C extends TranslatorToCAst.WalkContext<C,T> , T>
java.lang.Object
com.ibm.wala.cast.ir.translator.TranslatorToCAst.TryCatchContext<C,T>
- All Implemented Interfaces:
TranslatorToCAst.WalkContext<C,T>
- Enclosing interface:
TranslatorToCAst
public static class TranslatorToCAst.TryCatchContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
extends Object
implements TranslatorToCAst.WalkContext<C,T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTryCatchContext(C parent, CAstNode catchNode) protectedTryCatchContext(C parent, Map<String, CAstNode> catchNode) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TranslatorToCAst.WalkContext
addNameDecl, addScopedEntity, cfg, getBreakFor, getContinueFor, getNameDecls, getNodeTypeMap, getScopedEntities, pos, topModifier 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 TgetBreakFor(String label) for a 'break' style goto, return the control flow targetdefault 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 positionsdefault Ttop()
-
Constructor Details
-
TryCatchContext
-
TryCatchContext
-
-
Method Details
-
getCatchTarget
- Specified by:
getCatchTargetin interfaceTranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
-
getCatchTarget
- Specified by:
getCatchTargetin interfaceTranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
-
getParent
- Specified by:
getParentin interfaceTranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
-