Function type definition
Implements: Compare
OperationsConstructor
New(name:String, params:Set<ParameterType>, req_params:String[])
Name | Type | Description |
---|---|---|
name | String | function name |
params | Set<ParameterType> | parameters to add to JSON object |
req_params | String[] | required parameters |
Constructor
New(name:String, params:Set<ParameterType>)
Name | Type | Description |
---|---|---|
name | String | function name |
params | Set<ParameterType> | parameters to add to JSON object |
Constructor
New(name:String, params:Set<ParameterType>, desc:String)
Name | Type | Description |
---|---|---|
name | String | function name |
params | Set<ParameterType> | parameters to add to JSON object |
desc | String | description |
Constructor
New(name:String, params:Set<ParameterType>, req_params:String[], desc:String)
Name | Type | Description |
---|---|---|
name | String | function name |
params | Set<ParameterType> | parameters to add to JSON object |
req_params | String[] | required parameters |
desc | String | description |
Compares two objects
method : public : Compare(rhs:System.Compare) ~ Int
Name | Type | Description |
---|---|---|
rhs | Compare | compare object |
Type | Description |
---|---|
Int | 0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater |
Get the function description
method : public : GetDesc() ~ String
Type | Description |
---|---|
String | function description |
Get the function name
method : public : GetName() ~ String
Type | Description |
---|---|
String | function name |
Get function parameters
method : public : GetParams() ~ Set<ParameterType>
Type | Description |
---|---|
Set<ParameterType> | function parameters |
Get the required function parameters
method : public : GetRequiredParams() ~ String[]
Type | Description |
---|---|
String[] | required function parameters |
Returns a hash ID for the given class
method : public : HashID() ~ Int
Type | Description |
---|---|
Int | hash ID |
JSON element representation
method : public : ToJson() ~ JsonElement
Type | Description |
---|---|
JsonElement | JSON element representation |
JSON string representation
method : public : ToString() ~ String
Type | Description |
---|---|
String | JSON string representation |