Package com.sun.tools.corba.ee.idl
Class ModuleEntry
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.SymtabEntry
-
- com.sun.tools.corba.ee.idl.ModuleEntry
-
public class ModuleEntry extends SymtabEntry
This is the symbol table entry for modules.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Vector<SymtabEntry>_contained(package private) static ModuleGenmoduleGen-
Fields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedModuleEntry()protectedModuleEntry(ModuleEntry that)protectedModuleEntry(SymtabEntry that, IDLID clone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContained(SymtabEntry entry)java.lang.Objectclone()This is a shallow copy clonejava.util.Vector<SymtabEntry>contained()This is a vector of SymtabEntry's.voidgenerate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the module generator.Generatorgenerator()Access the module generator.-
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
-
_contained
private java.util.Vector<SymtabEntry> _contained
-
moduleGen
static ModuleGen moduleGen
-
-
Constructor Detail
-
ModuleEntry
protected ModuleEntry()
-
ModuleEntry
protected ModuleEntry(ModuleEntry that)
-
ModuleEntry
protected ModuleEntry(SymtabEntry that, IDLID clone)
-
-
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 module 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 module generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the ModuleGen interface.
- See Also:
ModuleGen
-
addContained
public void addContained(SymtabEntry entry)
- Parameters:
entry- Valid entries in this vector are: TypedefEntry, ExceptionEntry, StructEntry, UnionEntry, EnumEntry, ConstEntry, InterfaceEntry, ModuleEntry.
-
contained
public java.util.Vector<SymtabEntry> contained()
This is a vector of SymtabEntry's. Valid entries in this vector are: TypedefEntry, ExceptionEntry, StructEntry, UnionEntry, EnumEntry, ConstEntry, InterfaceEntry, ModuleEntry.- Returns:
- a
VectorofSymtabEntry
-
-