definition.dart: comments

This commit is contained in:
Tobe O 2019-08-07 22:47:04 -04:00
parent 5e4b2b520e
commit e5e77787f6

View file

@ -1,9 +1,13 @@
import 'node.dart'; import 'node.dart';
/// The base class for top-level GraphQL definitions.
abstract class DefinitionContext extends Node {} abstract class DefinitionContext extends Node {}
/// An executable definition.
abstract class ExecutableDefinitionContext extends DefinitionContext {} abstract class ExecutableDefinitionContext extends DefinitionContext {}
/// An ad-hoc type system declared in GraphQL.
abstract class TypeSystemDefinitionContext extends DefinitionContext {} abstract class TypeSystemDefinitionContext extends DefinitionContext {}
/// An extension to an existing ad-hoc type system.
abstract class TypeSystemExtensionContext extends DefinitionContext {} abstract class TypeSystemExtensionContext extends DefinitionContext {}