Class AstTranslator.CodeEntityContext
java.lang.Object
com.ibm.wala.cast.ir.translator.AstTranslator.CodeEntityContext
- All Implemented Interfaces:
AstTranslator.WalkContext
,CAstVisitor.Context
- Enclosing class:
AstTranslator
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCodeEntityContext
(AstTranslator.WalkContext parent, AstTranslator.Scope entityScope, CAstEntity s) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntityName
(CAstEntity e, String name) cfg()
exposeNameSet
(CAstEntity entity, boolean writeSet) file()
getName()
final int
boolean
void
setCatchType
(CAstNode catchNode, TypeReference catchType) void
setCatchType
(IBasicBlock<SSAInstruction> bb, TypeReference catchType) final int
top()
-
Field Details
-
topNode
-
name
-
-
Constructor Details
-
CodeEntityContext
public CodeEntityContext(AstTranslator.WalkContext parent, AstTranslator.Scope entityScope, CAstEntity s)
-
-
Method Details
-
codeContext
- Specified by:
codeContext
in interfaceAstTranslator.WalkContext
-
getAccesses
- Specified by:
getAccesses
in interfaceAstTranslator.WalkContext
-
exposeNameSet
- Specified by:
exposeNameSet
in interfaceAstTranslator.WalkContext
-
getControlFlow
- Specified by:
getControlFlow
in interfaceAstTranslator.WalkContext
-
cfg
- Specified by:
cfg
in interfaceAstTranslator.WalkContext
-
currentScope
- Specified by:
currentScope
in interfaceAstTranslator.WalkContext
-
entityScopes
- Specified by:
entityScopes
in interfaceAstTranslator.WalkContext
-
getUnwindState
- Specified by:
getUnwindState
in interfaceAstTranslator.WalkContext
-
setCatchType
- Specified by:
setCatchType
in interfaceAstTranslator.WalkContext
-
setCatchType
- Specified by:
setCatchType
in interfaceAstTranslator.WalkContext
-
getCatchTypes
- Specified by:
getCatchTypes
in interfaceAstTranslator.WalkContext
-
hasValue
- Specified by:
hasValue
in interfaceAstTranslator.WalkContext
-
setValue
- Specified by:
setValue
in interfaceAstTranslator.WalkContext
-
getValue
- Specified by:
getValue
in interfaceAstTranslator.WalkContext
-
getName
- Specified by:
getName
in interfaceAstTranslator.WalkContext
-
top
- Specified by:
top
in interfaceCAstVisitor.Context
-
getSourceMap
- Specified by:
getSourceMap
in interfaceAstTranslator.WalkContext
- Specified by:
getSourceMap
in interfaceCAstVisitor.Context
-
getModule
- Specified by:
getModule
in interfaceAstTranslator.WalkContext
-
file
- Specified by:
file
in interfaceAstTranslator.WalkContext
-
addEntityName
- Specified by:
addEntityName
in interfaceAstTranslator.WalkContext
-
getEntityName
- Specified by:
getEntityName
in interfaceAstTranslator.WalkContext
-
getGlobalScope
- Specified by:
getGlobalScope
in interfaceAstTranslator.WalkContext
-