All Bundles

ParameterType

Function parameter type definition

Implements: Compare

Operations

New

Constructor

New(name:String, type:ParameterType->Type)
Parameters
NameTypeDescription
nameStringfunction parameter name
typeParameterType->Typeparameter type

Constructor

New(name:String, type:ParameterType->Type, desc:String)
Parameters
NameTypeDescription
nameStringfunction parameter name
typeParameterType->Typeparameter type
descStringdescription

Constructor

New(name:String, props:Set<ParameterType>)
Parameters
NameTypeDescription
nameStringfunction parameter name
propsSet<ParameterType>set of named parameter properties

Constructor

New(name:String, props:Set<ParameterType>, req_params:String[])
Parameters
NameTypeDescription
nameStringfunction parameter name
propsSet<ParameterType>set of named parameter properties
req_paramsString[]require parameters

Constructor

New(name:String, props:Set<ParameterType>, req_params:String[], desc:String)
Parameters
NameTypeDescription
nameStringfunction parameter name
propsSet<ParameterType>set of named parameter properties
req_paramsString[]require parameters
descStringdescription

Compare

Compares two objects

method : public : Compare(rhs:System.Compare) ~ Int
Parameters
NameTypeDescription
rhsComparecompare object

Return
TypeDescription
Int0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater

GetDesc

Get the function description

method : public : GetDesc() ~ String
Return
TypeDescription
Stringfunction description

GetName

Get the function name

method : public : GetName() ~ String
Return
TypeDescription
Stringfunction name

GetProps

Get parameter properties object descriptions

method : public : GetProps() ~ Set<ParameterType>
Return
TypeDescription
Set<ParameterType>properties object descriptions

GetType

Get parameter type

method : public : GetType() ~ ParameterType->Type
Return
TypeDescription
ParameterType->Typeparameter type

HashID

Returns a hash ID for the given class

method : public : HashID() ~ Int
Return
TypeDescription
Inthash ID

ToJson

JSON element representation

method : public : ToJson() ~ JsonElement
Return
TypeDescription
JsonElementJSON element representation

ToString

JSON string representation

method : public : ToString() ~ String
Return
TypeDescription
StringJSON string representation