GQLListType

class GQLListType(val sourceLocation: SourceLocation? = null, val type: GQLType) : GQLType

Constructors

Link copied to clipboard
constructor(sourceLocation: SourceLocation? = null, type: GQLType)

Properties

Link copied to clipboard
open override val children: List<GQLType>

The children of this node.

Link copied to clipboard
open override val sourceLocation: SourceLocation? = null
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(sourceLocation: SourceLocation? = this.sourceLocation, type: GQLType = this.type): GQLListType
Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns the raw type. The raw type is the GQLNamedType without any list/nonnull wrapper types

Link copied to clipboard
fun GQLNode.toUtf8(indent: String = " "): String
fun GQLNode.toUtf8(sink: BufferedSink, indent: String = " ")
Link copied to clipboard
Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children