NamedArguments

class NamedArguments<out T> : HasSourceLocation

A list of labelled arguments.

Constructors

NamedArguments
Link copied to clipboard
fun NamedArguments(sourceLocation: SourceLocation)

An empty argument list.

Types

Companion
Link copied to clipboard
object Companion

Functions

assertHasNoExtraArguments
Link copied to clipboard
fun assertHasNoExtraArguments(expectedArguments: Set<ArgumentLabel>)

Asserts that the argument list only contains arguments with labels in expectedArguments.

get
Link copied to clipboard
operator fun get(label: ArgumentLabel): T

Returns the argument associated with label label.

Properties

sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation