Definition

class Definition(val fqn: String)(source)

Represents the definitions of a function with the fully qualified name fqn.

Constructors

Link copied to clipboard
constructor(fqn: String)

Properties

Link copied to clipboard
val fqn: String
Link copied to clipboard

stores all possible Signatures for this function

Functions

Link copied to clipboard
fun add(signature: Signature)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun Definition.signature(vararg parameters: Parameter): Signature

Create a Signature which can be added to the Definition. The Parameters are passed through the vararg.

inline fun Definition.signature(unordered: Array<out Parameter> = emptyArray(), block: Signature.() -> Unit): Signature

Create a Signature which can be added to the Definition. The Parameters are defined in the block.

Link copied to clipboard
open override fun toString(): String