Class TypedefEntry

java.lang.Object
com.sun.tools.corba.ee.idl.SymtabEntry
com.sun.tools.corba.ee.idl.TypedefEntry

public class TypedefEntry extends SymtabEntry
This is the symbol table entry for typedefs.
  • Field Details

    • _arrayInfo

      private Vector _arrayInfo
    • typedefGen

      static TypedefGen typedefGen
  • Constructor Details

    • TypedefEntry

      protected TypedefEntry()
    • TypedefEntry

      protected TypedefEntry(TypedefEntry that)
    • TypedefEntry

      protected TypedefEntry(SymtabEntry that, IDLID clone)
  • Method Details

    • arrayInfo

      public Vector arrayInfo()
      This method returns a vector of Expressions, each expression represents a dimension in an array. A zero-length vector indicates no array information.
      Returns:
      a {link Vector} of Expressions
    • addArrayInfo

      public void addArrayInfo(Expression e)
    • clone

      public Object clone()
      Description copied from class: SymtabEntry
      This is a shallow copy clone
      Overrides:
      clone in class SymtabEntry
    • generate

      public void generate(Hashtable symbolTable, PrintWriter stream)
      Invoke the typedef generator.
      Overrides:
      generate in class SymtabEntry
      Parameters:
      symbolTable - the symbol table is a hash table whose key is a fully qualified type name and whose value is a SymtabEntry or a subclass of SymtabEntry.
      stream - the stream to which the generator should sent its output.
      See Also:
    • isReferencable

      public boolean isReferencable()
      Overrides:
      isReferencable in class SymtabEntry
    • isReferencable

      public void isReferencable(boolean value)
      Overrides:
      isReferencable in class SymtabEntry
    • generator

      public Generator generator()
      Access the typedef generator.
      Overrides:
      generator in class SymtabEntry
      Returns:
      an object which implements the TypedefGen interface.
      See Also: