GQLDirective

data class GQLDirective(    val sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     val name: String,     val arguments: GQLArguments?) : GQLNode, GQLNamed

Parameters

name

the name of the directive without the '@'. Example: "include"

Constructors

Link copied to clipboard
fun GQLDirective(    sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     name: String,     arguments: GQLArguments?)

Functions

Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children

Properties

Link copied to clipboard
val arguments: GQLArguments?
Link copied to clipboard
open override val children: List<GQLArguments>

The children of this node.

Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val sourceLocation: SourceLocation

Extensions

Link copied to clipboard