Class IncludeEntry

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

public class IncludeEntry extends SymtabEntry
This is the symbol table entry for the #include statement.
  • Field Details

    • includeGen

      static IncludeGen includeGen
    • includeList

      private Vector<IncludeEntry> includeList
      List of files this file includes
    • _absFilename

      private String _absFilename
      Absolute file name for .u file generation.
  • Constructor Details

    • IncludeEntry

      protected IncludeEntry()
    • IncludeEntry

      protected IncludeEntry(SymtabEntry that)
    • IncludeEntry

      protected IncludeEntry(IncludeEntry that)
  • Method Details

    • 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 Include type 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 Include type generator.
      Overrides:
      generator in class SymtabEntry
      Returns:
      an object which implements the IncludeGen interface.
      See Also:
    • absFilename

      public void absFilename(String afn)
      Set the fully-qualified file specification of this include file.
      Parameters:
      afn - absolute filename
    • absFilename

      public String absFilename()
      Access the fully-qualified file specification of this include.
      Returns:
      a string containing the path of the include file.
    • addInclude

      public void addInclude(IncludeEntry entry)
      Add an IncludeEntry to the list of files which this included file includes.
      Parameters:
      entry - IncludeEntry to add
    • includes

      public Vector<IncludeEntry> includes()
      Get the list of files which this file includes.
      Returns:
      a Vector of files included