Interface Entity

All Known Subinterfaces:
BehaviorEntity, EnumerationType, Enumerator, Field, Function, Label, OrdinaryEntity, ProgramEntity, StructureOrUnionType, TaggedEntity, Typedef, Variable
All Known Implementing Classes:

public interface Entity

An entity is an underlying program "conceptual thing" that can be named by an identifier. The kinds of things include: variables, functions, typedefs, structures, unions, enumerations, enumerators, fields, and labels.

An entity object has some list of declarations associated to it. It begins with no declarations; a declaration is added using method #addDeclaration(DeclarationNode). There are also methods to get the number of declarations and to get the i-th declaration.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    static enum 
    The different kinds of Entity.
  • Method Summary

    Modifier and Type
    The kind of entity this is.
    Gets the name of this entity.