Class EnumEntry
java.lang.Object
com.sun.tools.corba.ee.idl.SymtabEntry
com.sun.tools.corba.ee.idl.EnumEntry
This is the symbol table entry for enumerated types.
-
Field Summary
FieldsFields inherited from class SymtabEntry
includeStack, maxKey, setEmit -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(String element) Add an element to the list of elements.clone()This is a shallow copy cloneelements()Each element of the vector is a String.voidgenerate(Hashtable symbolTable, PrintWriter stream) Invoke the enumerator generator.Access the enumerator generator.Methods inherited from class 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
-
enumGen
-
_elements
-
-
Constructor Details
-
EnumEntry
protected EnumEntry() -
EnumEntry
-
EnumEntry
-
-
Method Details
-
clone
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
generate
Invoke the enumerator 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 enumerator generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the EnumGen interface.
- See Also:
-
addElement
Add an element to the list of elements.- Parameters:
element- new element to add
-
elements
-