Class TranslatorToCAst.DelegatingContext<C extends TranslatorToCAst.WalkContext<C,T> , T>
java.lang.Object
com.ibm.wala.cast.ir.translator.TranslatorToCAst.DelegatingContext<C,T>
- All Implemented Interfaces:
TranslatorToCAst.WalkContext<C,T>
- Direct Known Subclasses:
JDTJava2CAstTranslator.DelegatingContext, TranslatorToCAst.BreakContext, TranslatorToCAst.FunctionContext
- Enclosing interface:
TranslatorToCAst
public static class TranslatorToCAst.DelegatingContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
extends Object
implements TranslatorToCAst.WalkContext<C,T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TranslatorToCAst.WalkContext
addNameDecl, addScopedEntity, cfg, getBreakFor, 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 TgetBreakFor(String label) for a 'break' style goto, return the control flow targetdefault 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
-
parent
-
-
Constructor Details
-
DelegatingContext
-
-
Method Details
-
top
- Specified by:
topin interfaceTranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
-
getParent
- Specified by:
getParentin interfaceTranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>, T>
-