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 Details

    • getCatchTargets

      Collection<Pair<org.eclipse.jdt.core.dom.ITypeBinding,Object>> getCatchTargets(org.eclipse.jdt.core.dom.ITypeBinding type)
    • getLabelMap

      Map<org.eclipse.jdt.core.dom.ASTNode,String> getLabelMap()
    • needLValue

      boolean needLValue()