Package com.sun.tools.corba.ee.idl
Class ParameterEntry
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.SymtabEntry
-
- com.sun.tools.corba.ee.idl.ParameterEntry
-
public class ParameterEntry extends SymtabEntry
This is the symbol table entry for parameters.
-
-
Field Summary
Fields Modifier and Type Field Description private int
_passType
static int
In
This is a set of class constants.static int
Inout
This is a set of class constants.static int
Out
This is a set of class constants.(package private) static ParameterGen
parameterGen
-
Fields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ParameterEntry()
protected
ParameterEntry(ParameterEntry that)
protected
ParameterEntry(SymtabEntry that, IDLID clone)
-
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 paramter generator.Generator
generator()
Access the parameter generator.int
passType()
This indicates the pass type of this parameter.void
passType(int passType)
This indicates the pass type of this parameter.-
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
-
In
public static final int In
This is a set of class constants. A parameter can be passed as one of In, Out, or Inout.- See Also:
- Constant Field Values
-
Inout
public static final int Inout
This is a set of class constants. A parameter can be passed as one of In, Out, or Inout.- See Also:
- Constant Field Values
-
Out
public static final int Out
This is a set of class constants. A parameter can be passed as one of In, Out, or Inout.- See Also:
- Constant Field Values
-
_passType
private int _passType
-
parameterGen
static ParameterGen parameterGen
-
-
Constructor Detail
-
ParameterEntry
protected ParameterEntry()
-
ParameterEntry
protected ParameterEntry(ParameterEntry that)
-
ParameterEntry
protected ParameterEntry(SymtabEntry that, IDLID clone)
-
-
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 paramter 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 parameter generator.- Overrides:
generator
in classSymtabEntry
- Returns:
- an object which implements the ParameterGen interface.
- See Also:
ParameterGen
-
passType
public void passType(int passType)
This indicates the pass type of this parameter.
-
passType
public int passType()
This indicates the pass type of this parameter.
-
-