public final class AstTranslator.RootContext extends java.lang.Object implements AstTranslator.WalkContext
| Constructor and Description |
|---|
RootContext(CAstEntity N,
com.ibm.wala.classLoader.ModuleEntry module) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntityName(CAstEntity e,
java.lang.String name) |
AstTranslator.IncipientCFG |
cfg() |
AstTranslator.WalkContext |
codeContext() |
AstTranslator.Scope |
currentScope() |
java.util.Set<AstTranslator.Scope> |
entityScopes() |
java.util.Set<com.ibm.wala.util.collections.Pair<com.ibm.wala.util.collections.Pair<java.lang.String,java.lang.String>,java.lang.Integer>> |
exposeNameSet(CAstEntity entity,
boolean writeSet) |
java.lang.String |
file() |
java.util.Set<AstLexicalAccess.Access> |
getAccesses(CAstEntity e) |
java.util.Map<com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction>,com.ibm.wala.types.TypeReference[]> |
getCatchTypes() |
CAstControlFlowMap |
getControlFlow() |
java.lang.String |
getEntityName(CAstEntity e) |
AstTranslator.Scope |
getGlobalScope() |
com.ibm.wala.classLoader.ModuleEntry |
getModule() |
java.lang.String |
getName() |
CAstSourcePositionMap |
getSourceMap() |
AstTranslator.UnwindState |
getUnwindState() |
int |
getValue(CAstNode n) |
boolean |
hasValue(CAstNode n) |
void |
setCatchType(CAstNode castNode,
com.ibm.wala.types.TypeReference catchType) |
void |
setCatchType(com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction> bb,
com.ibm.wala.types.TypeReference catchType) |
int |
setValue(CAstNode n,
int v) |
CAstEntity |
top() |
public RootContext(CAstEntity N, com.ibm.wala.classLoader.ModuleEntry module)
public AstTranslator.WalkContext codeContext()
codeContext in interface AstTranslator.WalkContextpublic com.ibm.wala.classLoader.ModuleEntry getModule()
getModule in interface AstTranslator.WalkContextpublic java.lang.String file()
file in interface AstTranslator.WalkContextpublic CAstEntity top()
top in interface CAstVisitor.Contextpublic AstTranslator.Scope currentScope()
currentScope in interface AstTranslator.WalkContextpublic java.util.Set<AstTranslator.Scope> entityScopes()
entityScopes in interface AstTranslator.WalkContextpublic CAstSourcePositionMap getSourceMap()
getSourceMap in interface AstTranslator.WalkContextgetSourceMap in interface CAstVisitor.Contextpublic CAstControlFlowMap getControlFlow()
getControlFlow in interface AstTranslator.WalkContextpublic AstTranslator.IncipientCFG cfg()
cfg in interface AstTranslator.WalkContextpublic AstTranslator.UnwindState getUnwindState()
getUnwindState in interface AstTranslator.WalkContextpublic java.lang.String getName()
getName in interface AstTranslator.WalkContextpublic void setCatchType(com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction> bb,
com.ibm.wala.types.TypeReference catchType)
setCatchType in interface AstTranslator.WalkContextpublic void setCatchType(CAstNode castNode, com.ibm.wala.types.TypeReference catchType)
setCatchType in interface AstTranslator.WalkContextpublic java.util.Map<com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction>,com.ibm.wala.types.TypeReference[]> getCatchTypes()
getCatchTypes in interface AstTranslator.WalkContextpublic void addEntityName(CAstEntity e, java.lang.String name)
addEntityName in interface AstTranslator.WalkContextpublic java.lang.String getEntityName(CAstEntity e)
getEntityName in interface AstTranslator.WalkContextpublic boolean hasValue(CAstNode n)
hasValue in interface AstTranslator.WalkContextpublic int setValue(CAstNode n, int v)
setValue in interface AstTranslator.WalkContextpublic int getValue(CAstNode n)
getValue in interface AstTranslator.WalkContextpublic java.util.Set<com.ibm.wala.util.collections.Pair<com.ibm.wala.util.collections.Pair<java.lang.String,java.lang.String>,java.lang.Integer>> exposeNameSet(CAstEntity entity, boolean writeSet)
exposeNameSet in interface AstTranslator.WalkContextpublic java.util.Set<AstLexicalAccess.Access> getAccesses(CAstEntity e)
getAccesses in interface AstTranslator.WalkContextpublic AstTranslator.Scope getGlobalScope()
getGlobalScope in interface AstTranslator.WalkContext