Signature

Represents a signature of a function.

Two Signatures are considered equal if they have the same amount of parameters and unorderedParameters. The equals function will not check the content of parameters and unorderedParameters.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

stores Parameters of this signature in the correct order

Link copied to clipboard

store all unordered Parameters of this signature. These Parameters don't correspond to a fixed index in the signature but need to flow to the function.

Functions

Link copied to clipboard
fun add(parameterGroup: ParameterGroup)
fun add(parameter: Parameter)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Two Signatures are considered equal if they have the same amount of parameters and unorderedParameters. The equals function will not check the content of parameters and unorderedParameters.

Link copied to clipboard
fun Signature.group(vararg parameters: Parameter): ParameterGroup

Create a ParameterGroup which can be added to the Signature.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
operator fun Parameter.unaryMinus()