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 SymtabEntry
includeStack, maxKey, setEmit -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedConstEntry(ConstEntry that) protectedConstEntry(SymtabEntry that, IDLID clone) This is a shallow copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()This is a shallow copy clone.voidgenerate(Hashtable symbolTable, PrintWriter stream) Invoke the constant generator.Access the constant generator.value()voidvalue(Expression newValue) 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
-
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
-
generate
Invoke the constant 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 constant generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the ConstGen interface.
- See Also:
-
value
-
value
-