Package jminusminus

Class TypeNameDefn

java.lang.Object
jminusminus.TypeNameDefn
All Implemented Interfaces:
IDefn

class TypeNameDefn extends Object implements IDefn
A definition of a type name. In the first instance, an identifier, but later resolved to a local name or an imported name.
  • Constructor Details

    • TypeNameDefn

      public TypeNameDefn(Type type)
      Constructs a type name definition for a type.
      Parameters:
      type - the definition's type.
  • Method Details

    • type

      public Type type()
      Returns the type for this definition.
      Specified by:
      type in interface IDefn
      Returns:
      the definition's type.