Ast

object Ast
class Object
trait Matchable
class Any

Type members

Classlikes

sealed trait Definition
case class Directive(name: Name, arguments: List[(Name, Value)])
case class DirectiveDefinition(name: Name, description: Option[String], args: List[InputValueDefinition], repeatable: Boolean, locations: List[DirectiveLocation]) extends TypeSystemDefinition
sealed trait DirectiveLocation
Companion
object
Companion
class
case class EnumTypeDefinition(name: Name, description: Option[String], directives: List[Directive], values: List[EnumValueDefinition]) extends TypeDefinition
case class EnumValueDefinition(name: Name, description: Option[String], directives: List[Directive])
sealed trait ExecutableDefinition extends Definition
case class FieldDefinition(name: Name, description: Option[String], args: List[InputValueDefinition], tpe: Type, directives: List[Directive])
case class FragmentDefinition(name: Name, typeCondition: Type, directives: List[Directive], selectionSet: List[Selection]) extends ExecutableDefinition
case class InputObjectTypeDefinition(name: Name, description: Option[String], fields: List[InputValueDefinition], directives: List[Directive]) extends TypeDefinition
case class InputValueDefinition(name: Name, description: Option[String], tpe: Type, defaultValue: Option[Value], directives: List[Directive])
case class InterfaceTypeDefinition(name: Name, description: Option[String], fields: List[FieldDefinition], interfaces: List[Named], directives: List[Directive]) extends TypeDefinition
case class Name(value: String)
case class ObjectTypeDefinition(name: Name, description: Option[String], fields: List[FieldDefinition], interfaces: List[Named], directives: List[Directive]) extends TypeDefinition
Companion
object
Companion
class
sealed trait OperationType
Companion
object
Companion
class
case class RootOperationTypeDefinition(operationType: OperationType, tpe: Named)
case class ScalarTypeDefinition(name: Name, description: Option[String], directives: List[Directive]) extends TypeDefinition
case class SchemaDefinition(rootOperationTypes: List[RootOperationTypeDefinition], directives: List[Directive]) extends TypeSystemDefinition
sealed trait Selection
Companion
object
object Selection
Companion
class
sealed abstract class Type(val name: String)
Companion
object
object Type
Companion
class
sealed trait TypeDefinition extends TypeSystemDefinition with Product with Serializable
sealed trait TypeSystemDefinition extends Definition
case class UnionTypeDefinition(name: Name, description: Option[String], directives: List[Directive], members: List[Named]) extends TypeDefinition
sealed trait Value
Companion
object
object Value
Companion
class
case class VariableDefinition(name: Name, tpe: Type, defaultValue: Option[Value])

Types

type Document = List[Definition]