IrListType

@Serializable
@SerialName(value = "list")
data class IrListType(val ofType: IrType, val nullable: Boolean = false, val optional: Boolean = false, val catchTo: IrCatchTo = IrCatchTo.NoCatch, val maybeError: Boolean = false) : IrType

Constructors

Link copied to clipboard
constructor(ofType: IrType, nullable: Boolean = false, optional: Boolean = false, catchTo: IrCatchTo = IrCatchTo.NoCatch, maybeError: Boolean = false)

Properties

Link copied to clipboard
open override val catchTo: IrCatchTo

reading this type must catch exceptions during parsing

Link copied to clipboard
open override val maybeError: Boolean

Whether this type is nullable in the schema, regardless of semantic nullability. This is used for @catchByDefault

Link copied to clipboard
open override val nullable: Boolean

This type is nullable in Kotlin

Link copied to clipboard
Link copied to clipboard
open override val optional: Boolean

This type is optional in Kotlin

Functions

Link copied to clipboard
open override fun copyWith(maybeError: Boolean, nullable: Boolean, optional: Boolean, catchTo: IrCatchTo): IrType
Link copied to clipboard
fun IrType.nullable(nullable: Boolean): IrType
Link copied to clipboard
fun IrType.optional(optional: Boolean): IrType
Link copied to clipboard
open override fun rawType(): IrNamedType