Package com.sun.tools.corba.ee.idl
Class SequenceEntry
java.lang.Object
com.sun.tools.corba.ee.idl.SymtabEntry
com.sun.tools.corba.ee.idl.SequenceEntry
This is the symbol table entry for sequences.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Vector<SymtabEntry> private Expression(package private) static SequenceGenFields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSequenceEntry(SequenceEntry that) protectedSequenceEntry(SymtabEntry that, IDLID clone) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContained(SymtabEntry entry) Only sequences can be contained within sequences.clone()This is a shallow copy cloneOnly sequences can be contained within sequences.voidgenerate(Hashtable symbolTable, PrintWriter stream) Invoke the sequence generator.Access the sequence generator.booleanvoidisReferencable(boolean value) maxSize()the constant expression defining the maximum size of the sequence.voidmaxSize(Expression expr) the constant expression defining the maximum size of the sequence.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
-
sequenceGen
-
_maxSize
-
_contained
-
-
Constructor Details
-
SequenceEntry
protected SequenceEntry() -
SequenceEntry
-
SequenceEntry
-
-
Method Details
-
clone
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
isReferencable
public boolean isReferencable()- Overrides:
isReferencablein classSymtabEntry
-
isReferencable
public void isReferencable(boolean value) - Overrides:
isReferencablein classSymtabEntry
-
generate
Invoke the sequence 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 sequence generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the SequenceGen interface.
- See Also:
-
maxSize
the constant expression defining the maximum size of the sequence. If it is null, then the sequence is unbounded.- Parameters:
expr- maximum size of sequence
-
maxSize
the constant expression defining the maximum size of the sequence. If it is null, then the sequence is unbounded. -
addContained
Only sequences can be contained within sequences.- Parameters:
entry- a sequence to add
-
contained
Only sequences can be contained within sequences.- Returns:
- this should be a vector of
SequenceEntrys
-