|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.cast.tree.impl.DelegatingEntity
public class DelegatingEntity
| Field Summary |
|---|
| Fields inherited from interface com.ibm.wala.cast.tree.CAstEntity |
|---|
FIELD_ENTITY, FILE_ENTITY, FUNCTION_ENTITY, RULE_ENTITY, SCRIPT_ENTITY, SUB_LANGUAGE_BASE, TYPE_ENTITY |
| Constructor Summary | |
|---|---|
DelegatingEntity(CAstEntity base)
|
|
| Method Summary | |
|---|---|
java.util.Map<CAstNode,java.util.Collection<CAstEntity>> |
getAllScopedEntities()
Some programming language constructs have a lexical structure. |
int |
getArgumentCount()
Some programming language constructs have a specific number of arguments. |
CAstNode[] |
getArgumentDefaults()
Some programming language constructs allow arguments to have default values. |
java.lang.String[] |
getArgumentNames()
Some programming language constructs have named arguments. |
CAstNode |
getAST()
The CAPA AST of this entity. |
CAstControlFlowMap |
getControlFlow()
The control flow map for the CAPA AST of this entity. |
int |
getKind()
What kind of entity is this? The answer should be one of the constants in this file. |
java.lang.String |
getName()
Some programming language constructs have names. |
CAstNodeTypeMap |
getNodeTypeMap()
The map from CAstNodes to types. |
CAstSourcePositionMap.Position |
getPosition()
The source position of this entity. |
java.util.Collection |
getQualifiers()
Returns an Iterator over the qualifiers of the given entity, if it has any, e.g., "final", "private". |
java.util.Iterator |
getScopedEntities(CAstNode construct)
Some programming language constructs have a lexical structure. |
java.lang.String |
getSignature()
Some programming language constructs have signatures, which are like names but usually have some detail to distinguish the construct from others with the same name. |
CAstSourcePositionMap |
getSourceMap()
The map of CAstNodes to source positions for the CAPA AST of this entity. |
CAstType |
getType()
The CAst type of this entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingEntity(CAstEntity base)
| Method Detail |
|---|
public int getKind()
CAstEntity
getKind in interface CAstEntitypublic java.lang.String getName()
CAstEntity
getName in interface CAstEntitypublic java.lang.String getSignature()
CAstEntity
getSignature in interface CAstEntitypublic java.lang.String[] getArgumentNames()
CAstEntity
getArgumentNames in interface CAstEntitypublic CAstNode[] getArgumentDefaults()
CAstEntity
getArgumentDefaults in interface CAstEntitypublic int getArgumentCount()
CAstEntity
getArgumentCount in interface CAstEntitypublic java.util.Map<CAstNode,java.util.Collection<CAstEntity>> getAllScopedEntities()
CAstEntity
getAllScopedEntities in interface CAstEntitypublic java.util.Iterator getScopedEntities(CAstNode construct)
CAstEntity
getScopedEntities in interface CAstEntitypublic CAstNode getAST()
CAstEntity
getAST in interface CAstEntitypublic CAstControlFlowMap getControlFlow()
CAstEntity
getControlFlow in interface CAstEntitypublic CAstSourcePositionMap getSourceMap()
CAstEntity
getSourceMap in interface CAstEntitypublic CAstSourcePositionMap.Position getPosition()
CAstEntity
getPosition in interface CAstEntitypublic CAstNodeTypeMap getNodeTypeMap()
CAstEntity
getNodeTypeMap in interface CAstEntitypublic java.util.Collection getQualifiers()
CAstEntity
getQualifiers in interface CAstEntitypublic CAstType getType()
CAstEntity
getType in interface CAstEntity
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||