public final class ParameterSymbol extends LocalVariableSymbolBase
Modifier and Type | Method and Description |
---|---|
static ParameterSymbol |
construct(ParamSymbol psymbol,
Parameter parameter,
TypeExpression type)
Construct parameter symbol.
|
Declaration |
getDeclaration()
Get the declaration of this parameter.
|
ParamSymbol |
getParamSymbol()
Get the entity to which the variable belongs.
|
void |
print(java.io.PrintWriter out)
Print symbol on output stream.
|
apply, getLogicType, getType, setLogicType
getName
public static ParameterSymbol construct(ParamSymbol psymbol, Parameter parameter, TypeExpression type)
psymbol
- the parameterized entity holding the parameter.parameter
- the parametertype
- its typepublic ParamSymbol getParamSymbol()
public Declaration getDeclaration()
getDeclaration
in interface Symbol
getDeclaration
in class SymbolBase
public void print(java.io.PrintWriter out)
out
- the output stream.