private static class SignatureHelper.FuncDef
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
kw
Type of the original keyword, stored in the tree as the "oldtype" annotation.
|
(package private) int |
ret
Return type (one of the FUNC_* or METH_* constants).
|
(package private) SignatureHelper.SignDef[] |
signatures
All possible signatures for this entity.
|
Constructor and Description |
---|
FuncDef(int ret,
int kw,
int mand,
ParmType[] parms)
Construct an instance (convenience version).
|
FuncDef(int ret,
int kw,
SignatureHelper.SignDef[] signatures)
Construct an instance.
|
int ret
int kw
SignatureHelper.SignDef[] signatures
public FuncDef(int ret, int kw, int mand, ParmType[] parms)
ret
- The return type.kw
- The keyword type (from the "oldtype" annotation).mand
- Number of parameters that are mandatory (e.g. if there are 5
possible parms and the last 2 are optional, then this will be
3).parms
- The specific parameter signature for this function or method.public FuncDef(int ret, int kw, SignatureHelper.SignDef[] signatures)
ret
- The return type.kw
- The keyword type (from the "oldtype" annotation).signatures
- An array of signature definitions.