public class AbstractClassEntity extends AbstractEntity
FIELD_ENTITY, FILE_ENTITY, FUNCTION_ENTITY, GLOBAL_ENTITY, MACRO_ENTITY, RULE_ENTITY, SCRIPT_ENTITY, SUB_LANGUAGE_BASE, TYPE_ENTITY
Constructor and Description |
---|
AbstractClassEntity(CAstType.Class type) |
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.
|
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.
|
String |
getName()
Some programming language constructs have names.
|
CAstNodeTypeMap |
getNodeTypeMap()
The map from CAstNodes to types.
|
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.
|
String |
toString() |
addScopedEntity, getAllScopedEntities, getAnnotations, getPosition, getScopedEntities, getSignature, setPosition
public AbstractClassEntity(CAstType.Class type)
public int getKind()
CAstEntity
public String getName()
CAstEntity
public CAstType getType()
CAstEntity
public Collection<CAstQualifier> getQualifiers()
CAstEntity
public CAstNode getAST()
CAstEntity
public CAstControlFlowMap getControlFlow()
CAstEntity
public CAstSourcePositionMap getSourceMap()
CAstEntity
public CAstNodeTypeMap getNodeTypeMap()
CAstEntity
public String[] getArgumentNames()
CAstEntity
public CAstNode[] getArgumentDefaults()
CAstEntity
public int getArgumentCount()
CAstEntity