Package com.sun.tools.corba.ee.idl
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 Summary
Fields Modifier and Type Field Description private java.lang.String_absFilenameAbsolute file name for .u file generation.(package private) static IncludeGenincludeGenprivate java.util.Vector<IncludeEntry>includeListList of files this file includes-
Fields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIncludeEntry()protectedIncludeEntry(IncludeEntry that)protectedIncludeEntry(SymtabEntry that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringabsFilename()Access the fully-qualified file specification of this include.voidabsFilename(java.lang.String afn)Set the fully-qualified file specification of this include file.voidaddInclude(IncludeEntry entry)Add an IncludeEntry to the list of files which this included file includes.java.lang.Objectclone()This is a shallow copy clonevoidgenerate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the Include type generator.Generatorgenerator()Access the Include type generator.java.util.Vector<IncludeEntry>includes()Get the list of files which this file includes.-
Methods inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, enteringInclude, exitingInclude, fullName, getVariableKey, growVars, initDynamicVars, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
-
-
-
-
Field Detail
-
includeGen
static IncludeGen includeGen
-
includeList
private java.util.Vector<IncludeEntry> includeList
List of files this file includes
-
_absFilename
private java.lang.String _absFilename
Absolute file name for .u file generation.
-
-
Constructor Detail
-
IncludeEntry
protected IncludeEntry()
-
IncludeEntry
protected IncludeEntry(SymtabEntry that)
-
IncludeEntry
protected IncludeEntry(IncludeEntry that)
-
-
Method Detail
-
clone
public java.lang.Object clone()
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
generate
public void generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the Include type generator.- Overrides:
generatein classSymtabEntry- 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:
SymtabEntry
-
generator
public Generator generator()
Access the Include type generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the IncludeGen interface.
- See Also:
IncludeGen
-
absFilename
public void absFilename(java.lang.String afn)
Set the fully-qualified file specification of this include file.- Parameters:
afn- absolute filename
-
absFilename
public java.lang.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 java.util.Vector<IncludeEntry> includes()
Get the list of files which this file includes.- Returns:
- a
Vectorof files included
-
-