Class ConstEntry

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

public class ConstEntry extends SymtabEntry
This is the symbol table entry for constants.
  • Field Details

  • Constructor Details

    • ConstEntry

      protected ConstEntry()
    • ConstEntry

      protected ConstEntry(ConstEntry that)
    • ConstEntry

      protected ConstEntry(SymtabEntry that, IDLID clone)
      This is a shallow copy constructor.
      Parameters:
      that - entry to copy
      clone - id of the clone
  • Method Details

    • clone

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

      public void generate(Hashtable symbolTable, PrintWriter stream)
      Invoke the constant 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:
    • generator

      public Generator generator()
      Access the constant generator.
      Overrides:
      generator in class SymtabEntry
      Returns:
      an object which implements the ConstGen interface.
      See Also:
    • value

      public Expression value()
    • value

      public void value(Expression newValue)