graphql_parser2 library

Classes

AliasContext
An alternate name for a field within a SelectionSet.
ArgumentContext
An argument passed to a FieldContext.
BooleanValueContext
A GraphQL boolean value literal.
DefaultValueContext
The default value to be passed to an ArgumentContext.
DefinitionContext
The base class for top-level GraphQL definitions.
DirectiveContext
A GraphQL directive, which may or may not have runtime semantics.
DocumentContext
A GraphQL document.
EnumValueContext
A GraphQL enumeration literal.
ExecutableDefinitionContext
An executable definition.
FieldContext
A field in a GraphQL SelectionSet.
FieldNameContext
The name of a GraphQL FieldContext, which may or may not be aliased.
FragmentDefinitionContext
A GraphQL query fragment definition.
FragmentSpreadContext
A GraphQL fragment spread.
InlineFragmentContext
An inline fragment, which typically appears in a SelectionSetContext.
InputValueContext<T>
Represents a value in GraphQL.
ListTypeContext
Represents a type that holds a list of another type.
ListValueContext
A GraphQL list value literal.
Node
NullValueContext
A GraphQL null literal.
NumberValueContext
A GraphQL number literal.
ObjectFieldContext
A field within an ObjectValueContext.
ObjectValueContext
A GraphQL object literal.
OperationDefinitionContext
An executable GraphQL operation definition.
Parser
SelectionContext
SelectionSetContext
A set of GraphQL selections - fields, fragments, or inline fragments.
StringValueContext
A GraphQL string value literal.
Token
TypeConditionContext
TypeContext
A GraphQL type node.
TypeNameContext
The name of a GraphQL type.
TypeSystemDefinitionContext
An ad-hoc type system declared in GraphQL.
TypeSystemExtensionContext
An extension to an existing ad-hoc type system.
ValueContext<T>
Use ConstantContext instead. This class remains solely for backwards compatibility.
VariableContext
A variable reference in GraphQL.
VariableDefinitionContext
A single variable definition.
VariableDefinitionsContext
A set of variable definitions in a GraphQL operation.

Enums

TokenType

Mixins

Directives

Functions

scan(String text, {dynamic sourceUrl}) List<Token>

Exceptions / Errors

SyntaxError