Interface JDTJava2CAstTranslator.WalkContext
- All Superinterfaces:
TranslatorToCAst.WalkContext<JDTJava2CAstTranslator.WalkContext, org.eclipse.jdt.core.dom.ASTNode>
- All Known Implementing Classes:
JDTJava2CAstTranslator.DelegatingContext, JDTJava2CAstTranslator.MethodContext, JDTJava2CAstTranslator.RootContext
- Enclosing class:
JDTJava2CAstTranslator<T extends CAstSourcePositionMap.Position>
public static interface JDTJava2CAstTranslator.WalkContext
extends TranslatorToCAst.WalkContext<JDTJava2CAstTranslator.WalkContext, org.eclipse.jdt.core.dom.ASTNode>
Contains things needed by in the visit() of some nodes to process the nodes. For example, pos()
contains the source position mapping which each node registers
-
Method Summary
Modifier and TypeMethodDescriptionCollection<Pair<org.eclipse.jdt.core.dom.ITypeBinding, Object>> getCatchTargets(org.eclipse.jdt.core.dom.ITypeBinding type) booleanMethods inherited from interface TranslatorToCAst.WalkContext
addNameDecl, addScopedEntity, cfg, getBreakFor, getCatchTarget, getCatchTarget, getContinueFor, getNameDecls, getNodeTypeMap, getParent, getScopedEntities, pos, top
-
Method Details
-
getCatchTargets
Collection<Pair<org.eclipse.jdt.core.dom.ITypeBinding, Object>> getCatchTargets(org.eclipse.jdt.core.dom.ITypeBinding type) -
getLabelMap
-
needLValue
boolean needLValue()
-