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
This is the symbol table entry for the #include statement.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAbsolute file name for .u file generation.(package private) static IncludeGenprivate Vector<IncludeEntry> List of files this file includesFields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedIncludeEntry(IncludeEntry that) protectedIncludeEntry(SymtabEntry that) -
Method Summary
Modifier and TypeMethodDescriptionAccess the fully-qualified file specification of this include.voidabsFilename(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.clone()This is a shallow copy clonevoidgenerate(Hashtable symbolTable, PrintWriter stream) Invoke the Include type generator.Access the Include type generator.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 Details
-
includeGen
-
includeList
List of files this file includes -
_absFilename
Absolute file name for .u file generation.
-
-
Constructor Details
-
IncludeEntry
protected IncludeEntry() -
IncludeEntry
-
IncludeEntry
-
-
Method Details
-
clone
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
generate
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:
-
generator
Access the Include type generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the IncludeGen interface.
- See Also:
-
absFilename
Set the fully-qualified file specification of this include file.- Parameters:
afn- absolute filename
-
absFilename
Access the fully-qualified file specification of this include.- Returns:
- a string containing the path of the include file.
-
addInclude
Add an IncludeEntry to the list of files which this included file includes.- Parameters:
entry- IncludeEntry to add
-
includes
Get the list of files which this file includes.- Returns:
- a
Vectorof files included
-