Package com.ibm.wala.cast.ir.translator
Interface AstTranslator.WalkContext
-
- All Superinterfaces:
CAstVisitor.Context
- All Known Implementing Classes:
AstTranslator.CodeEntityContext,AstTranslator.RootContext
- Enclosing class:
- AstTranslator
public static interface AstTranslator.WalkContext extends CAstVisitor.Context
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddEntityName(CAstEntity e, String name)AstTranslator.IncipientCFGcfg()AstTranslator.ScopecurrentScope()Set<AstTranslator.Scope>entityScopes()Set<Pair<Pair<String,String>,Integer>>exposeNameSet(CAstEntity entity, boolean writeSet)Stringfile()Set<AstLexicalAccess.Access>getAccesses(CAstEntity e)Map<IBasicBlock,TypeReference[]>getCatchTypes()CAstControlFlowMapgetControlFlow()StringgetEntityName(CAstEntity e)AstTranslator.ScopegetGlobalScope()ModuleEntrygetModule()StringgetName()CAstSourcePositionMapgetSourceMap()AstTranslator.UnwindStategetUnwindState()intgetValue(CAstNode n)booleanhasValue(CAstNode n)voidsetCatchType(CAstNode catchNode, TypeReference catchType)voidsetCatchType(IBasicBlock bb, TypeReference catchType)intsetValue(CAstNode n, int v)-
Methods inherited from interface com.ibm.wala.cast.tree.visit.CAstVisitor.Context
top
-
-
-
-
Method Detail
-
getModule
ModuleEntry getModule()
-
getName
String getName()
-
file
String file()
-
getSourceMap
CAstSourcePositionMap getSourceMap()
- Specified by:
getSourceMapin interfaceCAstVisitor.Context
-
getControlFlow
CAstControlFlowMap getControlFlow()
-
currentScope
AstTranslator.Scope currentScope()
-
entityScopes
Set<AstTranslator.Scope> entityScopes()
-
cfg
AstTranslator.IncipientCFG cfg()
-
getUnwindState
AstTranslator.UnwindState getUnwindState()
-
setCatchType
void setCatchType(IBasicBlock bb, TypeReference catchType)
-
setCatchType
void setCatchType(CAstNode catchNode, TypeReference catchType)
-
getCatchTypes
Map<IBasicBlock,TypeReference[]> getCatchTypes()
-
addEntityName
void addEntityName(CAstEntity e, String name)
-
getEntityName
String getEntityName(CAstEntity e)
-
hasValue
boolean hasValue(CAstNode n)
-
setValue
int setValue(CAstNode n, int v)
-
getValue
int getValue(CAstNode n)
-
exposeNameSet
Set<Pair<Pair<String,String>,Integer>> exposeNameSet(CAstEntity entity, boolean writeSet)
-
getAccesses
Set<AstLexicalAccess.Access> getAccesses(CAstEntity e)
-
getGlobalScope
AstTranslator.Scope getGlobalScope()
-
-