GQLField

class GQLField @ApolloExperimental constructor(val sourceLocation: SourceLocation? = null, val alias: String?, val name: String, val arguments: List<GQLArgument>, val directives: List<GQLDirective>, val selections: List<GQLSelection>) : GQLSelection, GQLNamed, GQLHasDirectives

Constructors

Link copied to clipboard
constructor(sourceLocation: SourceLocation? = null, alias: String?, name: String, arguments: List<GQLArgument>, directives: List<GQLDirective>, selections: List<GQLSelection>)

Properties

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

The children of this node.

Link copied to clipboard
open override val directives: List<GQLDirective>
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override val sourceLocation: SourceLocation? = null

Functions

Link copied to clipboard
fun copy(sourceLocation: SourceLocation? = this.sourceLocation, alias: String? = this.alias, name: String = this.name, arguments: List<GQLArgument> = this.arguments, directives: List<GQLDirective> = this.directives, selections: List<GQLSelection> = this.selections): GQLField
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
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