IrNamedType

Properties

Link copied to clipboard
abstract val catchTo: IrCatchTo

reading this type must catch exceptions during parsing

Link copied to clipboard
abstract val maybeError: Boolean

This type may be an error true if the type is nullable in the server schema. Used to generate error aware adapters

Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val nullable: Boolean

This type is nullable in Kotlin

Link copied to clipboard
abstract val optional: Boolean

This type is optional in Kotlin

Functions

Link copied to clipboard
abstract fun copyWith(maybeError: Boolean = this.maybeError, nullable: Boolean = this.nullable, optional: Boolean = this.optional, catchTo: IrCatchTo = this.catchTo): 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