1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- import { Source } from './source';
- import { Lexer } from './lexer';
- import { NamedTypeNode, TypeNode, ValueNode, DocumentNode } from './ast';
- export interface ParseOptions {
-
- noLocation?: boolean;
-
- allowLegacySDLEmptyFields?: boolean;
-
- allowLegacySDLImplementsInterfaces?: boolean;
-
- experimentalFragmentVariables?: boolean;
- }
- export function parse(
- source: string | Source,
- options?: ParseOptions,
- ): DocumentNode;
- export function parseValue(
- source: string | Source,
- options?: ParseOptions,
- ): ValueNode;
- export function parseType(
- source: string | Source,
- options?: ParseOptions,
- ): TypeNode;
|