com.ibm.wala.cast.java.translator.polyglot
Class PolyglotJava2CAstTranslator.CodeBodyContext

java.lang.Object
  extended by com.ibm.wala.cast.java.translator.polyglot.PolyglotJava2CAstTranslator.DelegatingContext
      extended by com.ibm.wala.cast.java.translator.polyglot.PolyglotJava2CAstTranslator.CodeBodyContext
All Implemented Interfaces:
PolyglotJava2CAstTranslator.WalkContext
Direct Known Subclasses:
PolyglotJava2CAstTranslator.MethodContext
Enclosing class:
PolyglotJava2CAstTranslator

public class PolyglotJava2CAstTranslator.CodeBodyContext
extends PolyglotJava2CAstTranslator.DelegatingContext


Constructor Summary
PolyglotJava2CAstTranslator.CodeBodyContext(PolyglotJava2CAstTranslator.WalkContext parent, java.util.Map<CAstNode,CAstEntity> entities)
           
 
Method Summary
 void addScopedEntity(CAstNode node, CAstEntity entity)
           
 CAstControlFlowRecorder cfg()
           
 java.util.Map<polyglot.ast.Node,java.lang.String> getLabelMap()
           
 CAstNodeTypeMapRecorder getNodeTypeMap()
           
 java.util.Map getScopedEntities()
           
 boolean needLVal()
           
 CAstSourcePositionRecorder pos()
           
 
Methods inherited from class com.ibm.wala.cast.java.translator.polyglot.PolyglotJava2CAstTranslator.DelegatingContext
getBreakFor, getCatchTargets, getContinueFor, getEnclosingMethod, getEnclosingType, getFinally, getInitializers, getParent, getStaticInitializers, getTypeDictionary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolyglotJava2CAstTranslator.CodeBodyContext

public PolyglotJava2CAstTranslator.CodeBodyContext(PolyglotJava2CAstTranslator.WalkContext parent,
                                                   java.util.Map<CAstNode,CAstEntity> entities)
Method Detail

getNodeTypeMap

public CAstNodeTypeMapRecorder getNodeTypeMap()
Specified by:
getNodeTypeMap in interface PolyglotJava2CAstTranslator.WalkContext
Overrides:
getNodeTypeMap in class PolyglotJava2CAstTranslator.DelegatingContext

pos

public CAstSourcePositionRecorder pos()
Specified by:
pos in interface PolyglotJava2CAstTranslator.WalkContext
Overrides:
pos in class PolyglotJava2CAstTranslator.DelegatingContext

cfg

public CAstControlFlowRecorder cfg()
Specified by:
cfg in interface PolyglotJava2CAstTranslator.WalkContext
Overrides:
cfg in class PolyglotJava2CAstTranslator.DelegatingContext

addScopedEntity

public void addScopedEntity(CAstNode node,
                            CAstEntity entity)
Specified by:
addScopedEntity in interface PolyglotJava2CAstTranslator.WalkContext
Overrides:
addScopedEntity in class PolyglotJava2CAstTranslator.DelegatingContext

getScopedEntities

public java.util.Map getScopedEntities()

getLabelMap

public java.util.Map<polyglot.ast.Node,java.lang.String> getLabelMap()
Specified by:
getLabelMap in interface PolyglotJava2CAstTranslator.WalkContext
Overrides:
getLabelMap in class PolyglotJava2CAstTranslator.DelegatingContext

needLVal

public boolean needLVal()
Specified by:
needLVal in interface PolyglotJava2CAstTranslator.WalkContext
Overrides:
needLVal in class PolyglotJava2CAstTranslator.DelegatingContext