public class AstTranslator.CodeEntityContext extends Object
| Constructor and Description |
|---|
CodeEntityContext(AstTranslator.WalkContext parent,
AstTranslator.Scope entityScope,
CAstEntity s) |
| Modifier and Type | Method and Description |
|---|---|
AstTranslator.IncipientCFG |
cfg() |
AstTranslator.Scope |
currentScope() |
Set<AstTranslator.Scope> |
entityScopes() |
Set<Pair<Pair<String,String>,Integer>> |
exposeNameSet(CAstEntity entity,
boolean writeSet) |
Set<AstLexicalAccess.Access> |
getAccesses(CAstEntity e) |
Map<IBasicBlock,TypeReference[]> |
getCatchTypes() |
CAstControlFlowMap |
getControlFlow() |
AstTranslator.UnwindState |
getUnwindState() |
int |
getValue(CAstNode n) |
boolean |
hasValue(CAstNode n) |
void |
setCatchType(CAstNode catchNode,
TypeReference catchType) |
void |
setCatchType(IBasicBlock bb,
TypeReference catchType) |
int |
setValue(CAstNode n,
int v) |
public CodeEntityContext(AstTranslator.WalkContext parent, AstTranslator.Scope entityScope, CAstEntity s)
public Set<AstLexicalAccess.Access> getAccesses(CAstEntity e)
getAccesses in interface AstTranslator.WalkContextpublic Set<Pair<Pair<String,String>,Integer>> exposeNameSet(CAstEntity entity, boolean writeSet)
exposeNameSet in interface AstTranslator.WalkContextpublic CAstControlFlowMap getControlFlow()
getControlFlow in interface AstTranslator.WalkContextpublic AstTranslator.IncipientCFG cfg()
cfg in interface AstTranslator.WalkContextpublic AstTranslator.Scope currentScope()
currentScope in interface AstTranslator.WalkContextpublic Set<AstTranslator.Scope> entityScopes()
entityScopes in interface AstTranslator.WalkContextpublic AstTranslator.UnwindState getUnwindState()
getUnwindState in interface AstTranslator.WalkContextpublic void setCatchType(CAstNode catchNode, TypeReference catchType)
setCatchType in interface AstTranslator.WalkContextpublic void setCatchType(IBasicBlock bb, TypeReference catchType)
setCatchType in interface AstTranslator.WalkContextpublic Map<IBasicBlock,TypeReference[]> getCatchTypes()
getCatchTypes in interface AstTranslator.WalkContextpublic boolean hasValue(CAstNode n)
hasValue in interface AstTranslator.WalkContextpublic final int setValue(CAstNode n, int v)
setValue in interface AstTranslator.WalkContextpublic final int getValue(CAstNode n)
getValue in interface AstTranslator.WalkContext