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
This is the symbol table entry for typedefs.
-
Field Summary
FieldsFields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedTypedefEntry(SymtabEntry that, IDLID clone) protectedTypedefEntry(TypedefEntry that) -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method returns a vector of Expressions, each expression represents a dimension in an array.clone()This is a shallow copy clonevoidgenerate(Hashtable symbolTable, PrintWriter stream) Invoke the typedef generator.Access the typedef generator.booleanvoidisReferencable(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 Details
-
_arrayInfo
-
typedefGen
-
-
Constructor Details
-
TypedefEntry
protected TypedefEntry() -
TypedefEntry
-
TypedefEntry
-
-
Method Details
-
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
-
clone
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
generate
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:
-
isReferencable
public boolean isReferencable()- Overrides:
isReferencablein classSymtabEntry
-
isReferencable
public void isReferencable(boolean value) - Overrides:
isReferencablein classSymtabEntry
-
generator
Access the typedef generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the TypedefGen interface.
- See Also:
-