public class EnumEntry extends SymtabEntry
Modifier | Constructor and Description |
---|---|
protected |
EnumEntry() |
protected |
EnumEntry(EnumEntry that) |
protected |
EnumEntry(SymtabEntry that,
IDLID clone) |
Modifier and Type | Method and Description |
---|---|
void |
addElement(String element)
Add an element to the list of elements.
|
Object |
clone()
This is a shallow copy clone
|
Vector |
elements()
Each element of the vector is a String.
|
void |
generate(Hashtable symbolTable,
PrintWriter stream)
Invoke the enumerator generator.
|
Generator |
generator()
Access the enumerator generator.
|
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, fullName, getVariableKey, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
protected EnumEntry()
protected EnumEntry(EnumEntry that)
protected EnumEntry(SymtabEntry that, IDLID clone)
public Object clone()
SymtabEntry
clone
in class SymtabEntry
public void generate(Hashtable symbolTable, PrintWriter stream)
generate
in class SymtabEntry
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.SymtabEntry
public Generator generator()
generator
in class SymtabEntry
EnumGen
public void addElement(String element)
public Vector elements()
Copyright © 2016 JBoss by Red Hat. All rights reserved.