summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/language/printLocation.d.ts
blob: 7d0c34705b675f8819c652fc9188e21b7dc2abef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Location } from './ast';
import { Source } from './source';
import { SourceLocation } from './location';

/**
 * Render a helpful description of the location in the GraphQL Source document.
 */
export function printLocation(location: Location): string;

/**
 * Render a helpful description of the location in the GraphQL Source document.
 */
export function printSourceLocation(
  source: Source,
  sourceLocation: SourceLocation,
): string;