Enum Class ProgramEntity.LinkageKind

java.lang.Object
java.lang.Enum<ProgramEntity.LinkageKind>
edu.udel.cis.vsl.abc.ast.entity.IF.ProgramEntity.LinkageKind
All Implemented Interfaces:
Serializable, Comparable<ProgramEntity.LinkageKind>, Constable
Enclosing interface:
ProgramEntity

public static enum ProgramEntity.LinkageKind extends Enum<ProgramEntity.LinkageKind>
The different kinds of linkage an entity may have: external, internal, or none. Roughly speaking, an entity with external linkage refers to a thing which may lie outside of the translation union; one with internal linkage refers to a single thing which lies in the translation unit but may be declared in multiple scopes; something with no linkage can only be declared in the one scope where it resides.
  • Enum Constant Details

  • Method Details

    • values

      public static ProgramEntity.LinkageKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProgramEntity.LinkageKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null