From e5e77787f628fabd946ce8f616ee3bd0f13d2266 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Wed, 7 Aug 2019 22:47:04 -0400 Subject: [PATCH] definition.dart: comments --- graphql_parser/lib/src/language/ast/definition.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphql_parser/lib/src/language/ast/definition.dart b/graphql_parser/lib/src/language/ast/definition.dart index efc72ee0..d129d422 100644 --- a/graphql_parser/lib/src/language/ast/definition.dart +++ b/graphql_parser/lib/src/language/ast/definition.dart @@ -1,9 +1,13 @@ import 'node.dart'; +/// The base class for top-level GraphQL definitions. abstract class DefinitionContext extends Node {} +/// An executable definition. abstract class ExecutableDefinitionContext extends DefinitionContext {} +/// An ad-hoc type system declared in GraphQL. abstract class TypeSystemDefinitionContext extends DefinitionContext {} +/// An extension to an existing ad-hoc type system. abstract class TypeSystemExtensionContext extends DefinitionContext {}