Class AbstractCodeEntity
java.lang.Object
com.ibm.wala.cast.ir.translator.AbstractEntity
com.ibm.wala.cast.ir.translator.AbstractCodeEntity
- All Implemented Interfaces:
CAstEntity
- Direct Known Subclasses:
AbstractScriptEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CAstNodeprotected final CAstControlFlowRecorderprotected final CAstSourcePositionRecorderprotected final CAstTypeprotected final CAstNodeTypeMapRecorderFields inherited from interface CAstEntity
FIELD_ENTITY, FILE_ENTITY, FUNCTION_ENTITY, GLOBAL_ENTITY, MACRO_ENTITY, RULE_ENTITY, SCRIPT_ENTITY, SUB_LANGUAGE_BASE, TYPE_ENTITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAST()The CAPA AST of this entity.The control flow map for the CAPA AST of this entity.The map from CAstNodes to types.The map of CAstNodes to source positions for the CAPA AST of this entity.getType()The CAst type of this entity.voidvoidsetGotoTarget(CAstNode from, CAstNode to) voidsetLabelledGotoTarget(CAstNode from, CAstNode to, Object label) voidvoidsetNodeType(CAstNode n, CAstType type) Methods inherited from class AbstractEntity
addScopedEntity, getAllScopedEntities, getAnnotations, getPosition, getScopedEntities, getSignature, setPositionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CAstEntity
getArgumentCount, getArgumentDefaults, getArgumentNames, getKind, getName, getNamePosition, getOriginal, getPosition, getQualifiers
-
Field Details
-
src
-
cfg
-
types
-
type
-
Ast
-
-
Constructor Details
-
AbstractCodeEntity
-
-
Method Details
-
getAST
-
getType
Description copied from interface:CAstEntityThe CAst type of this entity. -
getControlFlow
Description copied from interface:CAstEntityThe control flow map for the CAPA AST of this entity. -
getSourceMap
Description copied from interface:CAstEntityThe map of CAstNodes to source positions for the CAPA AST of this entity. -
getNodeTypeMap
Description copied from interface:CAstEntityThe map from CAstNodes to types. Valid for nodes that have an explicitly declared type (e.g. local vars). -
setGotoTarget
-
setLabelledGotoTarget
-
setNodePosition
-
setNodeType
-
setAst
-