Package com.sun.tools.corba.ee.idl
Class TypedefEntry
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.SymtabEntry
-
- com.sun.tools.corba.ee.idl.TypedefEntry
-
public class TypedefEntry extends SymtabEntry
This is the symbol table entry for typedefs.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Vector_arrayInfo(package private) static TypedefGentypedefGen-
Fields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTypedefEntry()protectedTypedefEntry(SymtabEntry that, IDLID clone)protectedTypedefEntry(TypedefEntry that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArrayInfo(Expression e)java.util.VectorarrayInfo()This method returns a vector of Expressions, each expression represents a dimension in an array.java.lang.Objectclone()This is a shallow copy clonevoidgenerate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the typedef generator.Generatorgenerator()Access the typedef generator.booleanisReferencable()voidisReferencable(boolean value)-
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, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
-
-
-
-
Field Detail
-
_arrayInfo
private java.util.Vector _arrayInfo
-
typedefGen
static TypedefGen typedefGen
-
-
Constructor Detail
-
TypedefEntry
protected TypedefEntry()
-
TypedefEntry
protected TypedefEntry(TypedefEntry that)
-
TypedefEntry
protected TypedefEntry(SymtabEntry that, IDLID clone)
-
-
Method Detail
-
arrayInfo
public java.util.Vector arrayInfo()
This method returns a vector of Expressions, each expression represents a dimension in an array. A zero-length vector indicates no array information.- Returns:
- a {link Vector} of
Expressions
-
addArrayInfo
public void addArrayInfo(Expression e)
-
clone
public java.lang.Object clone()
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
generate
public void generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the typedef 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:
SymtabEntry
-
isReferencable
public boolean isReferencable()
- Overrides:
isReferencablein classSymtabEntry
-
isReferencable
public void isReferencable(boolean value)
- Overrides:
isReferencablein classSymtabEntry
-
generator
public Generator generator()
Access the typedef generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the TypedefGen interface.
- See Also:
TypedefGen
-
-