sangria.ast
Members list
Grouped members
scalar
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalarValuetrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalarValuetrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalarValuetrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalarValuetrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalarValuetrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class BigDecimalValueclass BigIntValueclass BooleanValueclass FloatValueclass IntValueclass StringValueShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalarValuetrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
typesystem
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithDescriptiontrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeDefinitiontrait WithDescriptiontrait WithDirectivestrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeExtensionDefinitiontrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithDescriptiontrait WithDirectivestrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- See also
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithDescriptiontrait WithDirectivestrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeDefinitiontrait WithDescriptiontrait WithDirectivestrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeExtensionDefinitiontrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithDescriptiontrait WithDirectivestrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeDefinitiontrait WithDescriptiontrait WithDirectivestrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeExtensionDefinitiontrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait TypeExtensionDefinitiontrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- See also
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeDefinitiontrait WithDescriptiontrait WithDirectivestrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait TypeExtensionDefinitiontrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeDefinitiontrait WithDescriptiontrait WithDirectivestrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeExtensionDefinitiontrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class DirectiveLocationclass EnumValueDefinitionclass FieldDefinitionclass InputValueDefinitionclass OperationTypeDefinitiontrait TypeSystemDefinitionclass DirectiveDefinitionclass SchemaDefinitiontrait TypeDefinitionclass EnumTypeDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass UnionTypeDefinitiontrait TypeExtensionDefinitionShow all
A definition of a GraphQL schema.
A definition of a GraphQL schema.
Value parameters
- operationTypes
-
The root operations available in this schema.
Attributes
- See also
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithDirectivestrait WithTrailingCommentstrait WithDescriptiontrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait WithDescriptiontrait WithDirectivestrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class EnumTypeDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass UnionTypeDefinitionShow all
Attributes
- Supertypes
-
trait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
Show all
Attributes
- Supertypes
-
trait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class DirectiveDefinitionclass SchemaDefinitiontrait TypeDefinitionclass EnumTypeDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass UnionTypeDefinitionShow all
Attributes
- Supertypes
-
trait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait TypeExtensionDefinitionShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeDefinitiontrait WithDescriptiontrait WithDirectivestrait TypeSystemDefinitiontrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeExtensionDefinitiontrait WithDirectivestrait Definitiontrait SchemaAstNodetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
value
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ObjectValue.type
A value that can be substituted into a GraphQL operation variable.
A value that can be substituted into a GraphQL operation variable.
Called "input values" in the GraphQL spec. Input values can be scalars, enumeration values, lists, objects, or null values.
Attributes
- See also
- Supertypes
- Known subtypes
-
class EnumValueclass ListValueclass NullValueclass ObjectValuetrait ScalarValueclass BigDecimalValueclass BigIntValueclass BooleanValueclass FloatValueclass IntValueclass StringValueclass VariableValueShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Valuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Type members
Classlikes
SourceMapper for potentially multiple GraphQL documents.
SourceMapper for potentially multiple GraphQL documents.
Sometimes it's necessary to compose a GraphQL document from multiple component documents; this class provides the corresponding SourceMapper to support that.
Value parameters
- delegates
-
The component documents.
- id
-
Identifier for the combined document.
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait NameValuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
A location within a GraphQL source code string.
A location within a GraphQL source code string.
Value parameters
- column
-
The column number of the location within the source code.
- index
-
The offset of the location as characters from the start of the source code.
- line
-
The line number of the location within the source code.
- sourceId
-
The ID of the source code.
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AstLocation.type
A node in the AST of a parsed GraphQL request document.
A node in the AST of a parsed GraphQL request document.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Commenttrait ConditionalFragmentclass FragmentDefinitionclass InlineFragmenttrait Definitionclass OperationDefinitiontrait TypeSystemDefinitionclass DirectiveDefinitionclass SchemaDefinitiontrait TypeDefinitionclass EnumTypeDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass UnionTypeDefinitiontrait TypeExtensionDefinitionclass Directiveclass Documentclass InputDocumenttrait NameValueclass Argumentclass ObjectFieldtrait SchemaAstNodeclass DirectiveLocationclass EnumValueDefinitionclass FieldDefinitionclass InputValueDefinitionclass OperationTypeDefinitiontrait Selectionclass Fieldclass FragmentSpreadtrait SelectionContainertrait Typeclass ListTypeclass NamedTypeclass NotNullTypetrait Valueclass EnumValueclass ListValueclass NullValueclass ObjectValuetrait ScalarValueclass BigDecimalValueclass BigIntValueclass BooleanValueclass FloatValueclass IntValueclass StringValueclass VariableValueclass VariableDefinitiontrait WithArgumentstrait WithCommentstrait WithDescriptiontrait WithDirectivesShow all
Attributes
- Supertypes
- Known subtypes
-
class FragmentDefinitionclass InlineFragment
sangria.ast.SourceMapper for a single GraphQL document.
A definition in a GraphQL document.
A definition in a GraphQL document.
A GraphQL document consists primarily of definitions, which are either executable or representative of a GraphQL type system. The executable definitions are operation and fragment definitions; those that represent a type system fall into definition or extension categories.
Attributes
- See also
- Supertypes
- Known subtypes
-
class FragmentDefinitionclass OperationDefinitiontrait TypeSystemDefinitionclass DirectiveDefinitionclass SchemaDefinitiontrait TypeDefinitionclass EnumTypeDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass UnionTypeDefinitiontrait TypeExtensionDefinitionShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithArgumentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
A complete GraphQL request operated on by a GraphQL service.
A complete GraphQL request operated on by a GraphQL service.
Value parameters
- definitions
-
The definitions, which primarily constitute the document.
Attributes
- See also
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- See also
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithArgumentstrait SelectionContainertrait WithTrailingCommentstrait Selectiontrait WithCommentstrait WithDirectivestrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SelectionContainertrait WithTrailingCommentstrait WithCommentstrait WithDirectivestrait ConditionalFragmenttrait Definitiontrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Selectiontrait WithCommentstrait WithDirectivestrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SelectionContainertrait WithTrailingCommentstrait ConditionalFragmenttrait Selectiontrait WithCommentstrait WithDirectivestrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
InputDocument.type
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
- Known subtypes
-
class Argumentclass ObjectField
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait NameValuetrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
A definition of a GraphQL operation.
A definition of a GraphQL operation.
Every GraphQL request invokes a specific operation, possibly with values to substitute into the operation's variables.
Value parameters
- name
-
The name of the operation. Optional only if there is only one operation in the document. Used for selecting the specific operation to invoke in a GraphQL request.
- variables
-
The variables that must be substituted into the operation. Values for these must be provided either by their defaults or with the GraphQL request.
Attributes
- See also
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SelectionContainertrait WithTrailingCommentstrait WithCommentstrait WithDirectivestrait Definitiontrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
OperationType.type
A component of information to be queried and returned.
A component of information to be queried and returned.
Most typically a selection is a field.
Attributes
- See also
- Supertypes
-
trait WithCommentstrait WithDirectivestrait AstNodeclass Objecttrait Matchableclass AnyShow all
- Known subtypes
A GraphQL AST node that contains selections.
A GraphQL AST node that contains selections.
Most typically, this is a field that is of a composite type.
Attributes
- Supertypes
-
trait WithTrailingCommentstrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Set of functions that convert a GraphQL source code location to human-readable strings.
Set of functions that convert a GraphQL source code location to human-readable strings.
When rendering the results of a GraphQL document parse, it's helpful to describe where parsing failed. This is the interface to that facility.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AggregateSourceMapperclass DefaultSourceMapper
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
- Known subtypes
A definition of a variable to an operation.
A definition of a variable to an operation.
Value parameters
- defaultValue
-
Value that the variable should assume in an operation if none was provided with the GraphQL request.
- name
-
Name of the variable being defined.
Attributes
- See also
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithDirectivestrait WithCommentstrait AstNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
trait NameValueclass Argumentclass ObjectFieldtrait SchemaAstNodeclass DirectiveLocationclass EnumValueDefinitionclass FieldDefinitionclass InputValueDefinitionclass OperationTypeDefinitiontrait TypeSystemDefinitionclass DirectiveDefinitionclass SchemaDefinitiontrait TypeDefinitionclass EnumTypeDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass UnionTypeDefinitiontrait TypeExtensionDefinitiontrait Selectionclass Fieldclass FragmentSpreadclass InlineFragmenttrait SelectionContainerclass FragmentDefinitionclass OperationDefinitiontrait Valueclass EnumValueclass ListValueclass NullValueclass ObjectValuetrait ScalarValueclass BigDecimalValueclass BigIntValueclass BooleanValueclass FloatValueclass IntValueclass StringValueclass VariableValueclass VariableDefinitionShow all
Attributes
- Supertypes
- Known subtypes
-
class DirectiveDefinitionclass EnumTypeDefinitionclass EnumValueDefinitionclass FieldDefinitionclass InputValueDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass SchemaDefinitiontrait TypeDefinitionclass UnionTypeDefinitionShow all
Attributes
- Supertypes
- Known subtypes
-
class EnumValueDefinitionclass FieldDefinitionclass FragmentDefinitionclass InputValueDefinitionclass OperationDefinitionclass SchemaDefinitiontrait Selectionclass Fieldclass FragmentSpreadclass InlineFragmenttrait TypeDefinitionclass EnumTypeDefinitionclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass ScalarTypeDefinitionclass UnionTypeDefinitiontrait TypeExtensionDefinitionclass VariableDefinitionShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Documentclass EnumTypeDefinitionclass InputDocumentclass InterfaceTypeDefinitionclass ObjectTypeDefinitionclass SchemaDefinitiontrait SelectionContainerclass Fieldclass FragmentDefinitionclass InlineFragmentclass OperationDefinitionShow all