Package com.sun.tools.corba.ee.idl
Class PrimitiveEntry
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.SymtabEntry
-
- com.sun.tools.corba.ee.idl.PrimitiveEntry
-
public class PrimitiveEntry extends SymtabEntry
This is the symbol table entry for primitive types: octet, char, short, long, long long (and unsigned versions), float, double, string.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static PrimitiveGen
primitiveGen
-
Fields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PrimitiveEntry()
protected
PrimitiveEntry(PrimitiveEntry that)
protected
PrimitiveEntry(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
This is a shallow copy clonevoid
generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)
Invoke the primitive type generator.Generator
generator()
Access the primitive type 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
-
primitiveGen
static PrimitiveGen primitiveGen
-
-
Constructor Detail
-
PrimitiveEntry
protected PrimitiveEntry()
-
PrimitiveEntry
protected PrimitiveEntry(java.lang.String name)
-
PrimitiveEntry
protected PrimitiveEntry(PrimitiveEntry that)
-
-
Method Detail
-
clone
public java.lang.Object clone()
Description copied from class:SymtabEntry
This is a shallow copy clone- Overrides:
clone
in classSymtabEntry
-
generate
public void generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)
Invoke the primitive type 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:
SymtabEntry
-
generator
public Generator generator()
Access the primitive type generator.- Overrides:
generator
in classSymtabEntry
- Returns:
- an object which implements the PrimitiveGen interface.
- See Also:
PrimitiveGen
-
-