public abstract class AbstractFieldEntity extends AbstractEntity
FIELD_ENTITY, FILE_ENTITY, FUNCTION_ENTITY, GLOBAL_ENTITY, MACRO_ENTITY, RULE_ENTITY, SCRIPT_ENTITY, SUB_LANGUAGE_BASE, TYPE_ENTITY| Constructor and Description |
|---|
AbstractFieldEntity(java.lang.String name,
java.util.Set<CAstQualifier> modifiers,
boolean isStatic,
CAstEntity declaringClass) |
| Modifier and Type | Method and Description |
|---|---|
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() |
addScopedEntity, getAllScopedEntities, getAnnotations, getPosition, getScopedEntities, getSignature, setPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamePosition, getOriginal, getPositionpublic AbstractFieldEntity(java.lang.String name,
java.util.Set<CAstQualifier> modifiers,
boolean isStatic,
CAstEntity declaringClass)
public java.lang.String toString()
toString in class java.lang.Objectpublic int getKind()
CAstEntitypublic java.lang.String getName()
CAstEntitypublic CAstType getType()
CAstEntitypublic java.util.Collection<CAstQualifier> getQualifiers()
CAstEntitypublic CAstNode getAST()
CAstEntitypublic CAstControlFlowMap getControlFlow()
CAstEntitypublic CAstSourcePositionMap getSourceMap()
CAstEntitypublic CAstNodeTypeMap getNodeTypeMap()
CAstEntitypublic java.lang.String[] getArgumentNames()
CAstEntitypublic CAstNode[] getArgumentDefaults()
CAstEntitypublic int getArgumentCount()
CAstEntity