Module
Data.GraphQL.AST
- Package
- purescript-graphql-parser
- Repository
- meeshkan/purescript-graphql-parser
#_Document Source
_Document :: Tuple ((List Definition) -> Document) (Document -> Maybe (List Definition))
#T_OperationDefinition_OperationType Source
type T_OperationDefinition_OperationType = { directives :: Maybe Directives, name :: Maybe String, operationType :: OperationType, selectionSet :: SelectionSet, variableDefinitions :: Maybe VariableDefinitions }
#_Query Source
_Query :: Tuple (Unit -> OperationType) (OperationType -> Maybe Unit)
#_Mutation Source
_Mutation :: Tuple (Unit -> OperationType) (OperationType -> Maybe Unit)
#_Subscription Source
_Subscription :: Tuple (Unit -> OperationType) (OperationType -> Maybe Unit)
#OperationType Source
#_SelectionSet Source
_SelectionSet :: Tuple ((List Selection) -> SelectionSet) (SelectionSet -> Maybe (List Selection))
#SelectionSet Source
#T_Field Source
type T_Field = { alias :: Maybe String, arguments :: Maybe Arguments, directives :: Maybe Directives, name :: String, selectionSet :: Maybe SelectionSet }
#T_Argument Source
type T_Argument = { name :: String, value :: Value }
#_Argument Source
_Argument :: Tuple (T_Argument -> Argument) (Argument -> Maybe T_Argument)
#T_FragmentSpread Source
type T_FragmentSpread = { directives :: Maybe Directives, fragmentName :: String }
#FragmentSpread Source
#T_InlineFragment Source
type T_InlineFragment = { directives :: Maybe Directives, selectionSet :: SelectionSet, typeCondition :: Maybe TypeCondition }
#InlineFragment Source
#T_FragmentDefinition Source
type T_FragmentDefinition = { directives :: Maybe Directives, fragmentName :: String, selectionSet :: SelectionSet, typeCondition :: TypeCondition }
#FragmentDefinition Source
#_TypeCondition Source
_TypeCondition :: Tuple (NamedType -> TypeCondition) (TypeCondition -> Maybe NamedType)
#TypeCondition Source
#_Value_FloatValue Source
_Value_FloatValue :: Tuple (FloatValue -> Value) (Value -> Maybe FloatValue)
#_Value_StringValue Source
_Value_StringValue :: Tuple (StringValue -> Value) (Value -> Maybe StringValue)
#_Value_BooleanValue Source
_Value_BooleanValue :: Tuple (BooleanValue -> Value) (Value -> Maybe BooleanValue)
#_Value_ObjectValue Source
_Value_ObjectValue :: Tuple (ObjectValue -> Value) (Value -> Maybe ObjectValue)
#Value Source
#_FloatValue Source
_FloatValue :: Tuple (Number -> FloatValue) (FloatValue -> Maybe Number)
#FloatValue Source
#_BooleanValue Source
_BooleanValue :: Tuple (Boolean -> BooleanValue) (BooleanValue -> Maybe Boolean)
#BooleanValue Source
#_StringValue Source
_StringValue :: Tuple (String -> StringValue) (StringValue -> Maybe String)
#StringValue Source
#_ObjectValue Source
_ObjectValue :: Tuple ((List Argument) -> ObjectValue) (ObjectValue -> Maybe (List Argument))
#ObjectValue Source
#VariableDefinitions Source
#T_VariableDefinition Source
type T_VariableDefinition = { defaultValue :: Maybe DefaultValue, type :: Type, variable :: Variable }
#VariableDefinition Source
#_DefaultValue Source
_DefaultValue :: Tuple (Value -> DefaultValue) (DefaultValue -> Maybe Value)
#DefaultValue Source
#_Type_NonNullType Source
_Type_NonNullType :: Tuple (NonNullType -> Type) (Type -> Maybe NonNullType)
#_NonNullType_NamedType Source
_NonNullType_NamedType :: Tuple (NamedType -> NonNullType) (NonNullType -> Maybe NamedType)
#_NonNullType_ListType Source
_NonNullType_ListType :: Tuple (ListType -> NonNullType) (NonNullType -> Maybe ListType)
#NonNullType Source
#_Directives Source
_Directives :: Tuple ((List Directive) -> Directives) (Directives -> Maybe (List Directive))
#Directives Source
#_Directive Source
_Directive :: Tuple (T_Directive -> Directive) (Directive -> Maybe T_Directive)
#T_SchemaDefinition Source
type T_SchemaDefinition = { directives :: Maybe Directives, rootOperationTypeDefinition :: List RootOperationTypeDefinition }
#SchemaDefinition Source
#T_RootOperationTypeDefinition Source
type T_RootOperationTypeDefinition = { namedType :: NamedType, operationType :: OperationType }
#T_SchemaExtension_With_OperationTypeDefinition Source
type T_SchemaExtension_With_OperationTypeDefinition = { directives :: Maybe Directives, operationTypesDefinition :: List OperationTypeDefinition }
#T_SchemaExtension_With_Directives Source
type T_SchemaExtension_With_Directives = { directives :: Directives }
#T_OperationTypeDefinition Source
type T_OperationTypeDefinition = { namedType :: NamedType, operationType :: OperationType }
#TypeDefinition Source
data TypeDefinition
Constructors
TypeDefinition_ScalarTypeDefinition ScalarTypeDefinition
TypeDefinition_ObjectTypeDefinition ObjectTypeDefinition
TypeDefinition_InterfaceTypeDefinition InterfaceTypeDefinition
TypeDefinition_UnionTypeDefinition UnionTypeDefinition
TypeDefinition_EnumTypeDefinition EnumTypeDefinition
TypeDefinition_InputObjectTypeDefinition InputObjectTypeDefinition
Instances
#TypeExtension Source
data TypeExtension
Constructors
TypeExtension_ScalarTypeExtension ScalarTypeExtension
TypeExtension_ObjectTypeExtension ObjectTypeExtension
TypeExtension_InterfaceTypeExtension InterfaceTypeExtension
TypeExtension_UnionTypeExtension UnionTypeExtension
TypeExtension_EnumTypeExtension EnumTypeExtension
TypeExtension_InputObjectTypeExtension InputObjectTypeExtension
Instances
#T_ScalarTypeDefinition Source
type T_ScalarTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, name :: String }
#T_ScalarTypeExtension Source
type T_ScalarTypeExtension = { directives :: Directives, name :: String }
#T_ObjectTypeDefinition Source
type T_ObjectTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, fieldsDefinition :: Maybe FieldsDefinition, implementsInterfaces :: Maybe ImplementsInterfaces, name :: String }
#T_ObjectTypeExtension_With_FieldsDefinition Source
type T_ObjectTypeExtension_With_FieldsDefinition = { directives :: Maybe Directives, fieldsDefinition :: FieldsDefinition, implementsInterfaces :: Maybe ImplementsInterfaces, name :: String }
#T_ObjectTypeExtension_With_Directives Source
type T_ObjectTypeExtension_With_Directives = { directives :: Directives, implementsInterfaces :: Maybe ImplementsInterfaces, name :: String }
#T_ObjectTypeExtension_With_ImplementsInterfaces Source
type T_ObjectTypeExtension_With_ImplementsInterfaces = { implementsInterfaces :: ImplementsInterfaces, name :: String }
#ObjectTypeExtension Source
#_ImplementsInterfaces Source
_ImplementsInterfaces :: Tuple ((List NamedType) -> ImplementsInterfaces) (ImplementsInterfaces -> Maybe (List NamedType))
#ImplementsInterfaces Source
#_FieldsDefinition Source
_FieldsDefinition :: Tuple ((List FieldDefinition) -> FieldsDefinition) (FieldsDefinition -> Maybe (List FieldDefinition))
#FieldsDefinition Source
#T_FieldDefinition Source
type T_FieldDefinition = { argumentsDefinition :: Maybe ArgumentsDefinition, description :: Maybe String, directives :: Maybe Directives, name :: String, type :: Type }
#FieldDefinition Source
#ArgumentsDefinition Source
#T_InputValueDefinition Source
type T_InputValueDefinition = { defaultValue :: Maybe DefaultValue, description :: Maybe String, directives :: Maybe Directives, name :: String, type :: Type }
#T_InterfaceTypeDefinition Source
type T_InterfaceTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, fieldsDefinition :: Maybe FieldsDefinition, name :: String }
#T_InterfaceTypeExtension_With_FieldsDefinition Source
type T_InterfaceTypeExtension_With_FieldsDefinition = { directives :: Maybe Directives, fieldsDefinition :: FieldsDefinition, name :: String }
#T_InterfaceTypeExtension_With_Directives Source
type T_InterfaceTypeExtension_With_Directives = { directives :: Directives, name :: String }
#InterfaceTypeExtension Source
#T_UnionTypeDefinition Source
type T_UnionTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, name :: String, unionMemberTypes :: Maybe UnionMemberTypes }
#_UnionMemberTypes Source
_UnionMemberTypes :: Tuple ((List NamedType) -> UnionMemberTypes) (UnionMemberTypes -> Maybe (List NamedType))
#UnionMemberTypes Source
#T_UnionTypeExtension_With_UnionMemberTypes Source
type T_UnionTypeExtension_With_UnionMemberTypes = { directives :: Maybe Directives, name :: String, unionMemberTypes :: UnionMemberTypes }
#T_UnionTypeExtension_With_Directives Source
type T_UnionTypeExtension_With_Directives = { directives :: Directives, name :: String }
#T_EnumTypeDefinition Source
type T_EnumTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, enumValuesDefinition :: Maybe EnumValuesDefinition, name :: String }
#EnumTypeDefinition Source
#EnumValuesDefinition Source
#T_EnumValueDefinition Source
type T_EnumValueDefinition = { description :: Maybe String, directives :: Maybe Directives, enumValue :: EnumValue }
#T_EnumTypeExtension_With_EnumValuesDefinition Source
type T_EnumTypeExtension_With_EnumValuesDefinition = { directives :: Maybe Directives, enumValuesDefinition :: EnumValuesDefinition, name :: String }
#T_EnumTypeExtension_With_Directives Source
type T_EnumTypeExtension_With_Directives = { directives :: Directives, name :: String }
#T_InputObjectTypeDefinition Source
type T_InputObjectTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, inputFieldsDefinition :: Maybe InputFieldsDefinition, name :: String }
#T_InputObjectTypeExtension_With_InputFieldsDefinition Source
type T_InputObjectTypeExtension_With_InputFieldsDefinition = { directives :: Maybe Directives, inputFieldsDefinition :: InputFieldsDefinition, name :: String }
#T_InputObjectTypeExtension_With_Directives Source
type T_InputObjectTypeExtension_With_Directives = { directives :: Directives, name :: String }
#InputObjectTypeExtension Source
#T_DirectiveDefinition Source
type T_DirectiveDefinition = { argumentsDefinition :: Maybe ArgumentsDefinition, description :: Maybe String, directiveLocations :: DirectiveLocations, name :: String }
#DirectiveLocations Source
- Modules
- Data.
GraphQL. AST - Data.
GraphQL. Parser