GQLListValue

class GQLListValue(val sourceLocation: SourceLocation? = null, val values: List<GQLValue>) : GQLValue

Constructors

Link copied to clipboard
constructor(sourceLocation: SourceLocation? = null, values: List<GQLValue>)

Properties

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

The children of this node.

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

Functions

Link copied to clipboard

For a GQLValue used in input position, validate that it can be coerced to expectedType and coerce it at the same time.

Link copied to clipboard

For a GQLValue used in input position, validate that it can be coerced to expectedType and coerce it at the same time.

Link copied to clipboard
fun copy(sourceLocation: SourceLocation? = this.sourceLocation, values: List<GQLValue> = this.values): GQLListValue
Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

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