Package com.sun.tools.corba.ee.idl
Class ConstEntry
java.lang.Object
com.sun.tools.corba.ee.idl.SymtabEntry
com.sun.tools.corba.ee.idl.ConstEntry
This is the symbol table entry for constants.
-
Field Summary
FieldsFields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
ConstEntry
(ConstEntry that) protected
ConstEntry
(SymtabEntry that, IDLID clone) This is a shallow copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()
This is a shallow copy clone.void
generate
(Hashtable symbolTable, PrintWriter stream) Invoke the constant generator.Access the constant generator.value()
void
value
(Expression newValue) 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
-
constGen
-
_value
-
-
Constructor Details
-
ConstEntry
protected ConstEntry() -
ConstEntry
-
ConstEntry
This is a shallow copy constructor.- Parameters:
that
- entry to copyclone
- id of the clone
-
-
Method Details
-
clone
This is a shallow copy clone.- Overrides:
clone
in classSymtabEntry
-
generate
Invoke the constant generator.- Overrides:
generate
in 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 constant generator.- Overrides:
generator
in classSymtabEntry
- Returns:
- an object which implements the ConstGen interface.
- See Also:
-
value
-
value
-