|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.cast.ir.translator.AbstractEntity
com.ibm.wala.cast.ir.translator.AbstractGlobalEntity
public class AbstractGlobalEntity
| Field Summary |
|---|
| Fields inherited from interface com.ibm.wala.cast.tree.CAstEntity |
|---|
FIELD_ENTITY, FILE_ENTITY, FUNCTION_ENTITY, GLOBAL_ENTITY, MACRO_ENTITY, RULE_ENTITY, SCRIPT_ENTITY, SUB_LANGUAGE_BASE, TYPE_ENTITY |
| Constructor Summary | |
|---|---|
AbstractGlobalEntity(java.lang.String name,
CAstType type,
java.util.Set<CAstQualifier> modifiers)
|
|
| Method Summary | |
|---|---|
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. |
java.util.Collection<CAstQualifier> |
getQualifiers()
Returns an Iterator over the qualifiers of the given entity, if it has any, e.g., "final", "private". |
CAstSourcePositionMap |
getSourceMap()
The map of CAstNodes to source positions for the CAPA AST of this entity. |
CAstType |
getType()
The CAst type of this entity. |
java.lang.String |
toString()
|
| Methods inherited from class com.ibm.wala.cast.ir.translator.AbstractEntity |
|---|
addScopedEntity, getAllScopedEntities, getPosition, getScopedEntities, getSignature, setPosition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGlobalEntity(java.lang.String name,
CAstType type,
java.util.Set<CAstQualifier> modifiers)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getKind()
CAstEntity
public java.lang.String getName()
CAstEntity
public CAstType getType()
CAstEntity
public java.util.Collection<CAstQualifier> getQualifiers()
CAstEntity
public CAstNode getAST()
CAstEntity
public CAstControlFlowMap getControlFlow()
CAstEntity
public CAstSourcePositionMap getSourceMap()
CAstEntity
public CAstNodeTypeMap getNodeTypeMap()
CAstEntity
public java.lang.String[] getArgumentNames()
CAstEntity
public CAstNode[] getArgumentDefaults()
CAstEntity
public int getArgumentCount()
CAstEntity
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||