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 void
addEntityName(CAstEntity e, String name)
AstTranslator.IncipientCFG
cfg()
AstTranslator.Scope
currentScope()
Set<AstTranslator.Scope>
entityScopes()
Set<Pair<Pair<String,String>,Integer>>
exposeNameSet(CAstEntity entity, boolean writeSet)
String
file()
Set<AstLexicalAccess.Access>
getAccesses(CAstEntity e)
Map<IBasicBlock,TypeReference[]>
getCatchTypes()
CAstControlFlowMap
getControlFlow()
String
getEntityName(CAstEntity e)
AstTranslator.Scope
getGlobalScope()
ModuleEntry
getModule()
String
getName()
CAstSourcePositionMap
getSourceMap()
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)
-
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:
getSourceMap
in 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()
-
-