graphql-to-sparql
Version:
Converts GraphQL queries to SPARQL queries
14 lines (13 loc) • 725 B
TypeScript
import type { VariableNode } from 'graphql/language/ast';
import type { IConvertContext } from '../../IConvertContext';
import type { IConvertSettings } from '../../IConvertSettings';
import type { Util } from '../../Util';
import type { IValueNodeHandlerOutput } from './NodeValueHandlerAdapter';
import { NodeValueHandlerAdapter } from './NodeValueHandlerAdapter';
/**
* Converts GraphQL variables to terms based on the contents of the variablesDict.
*/
export declare class NodeValueHandlerVariable extends NodeValueHandlerAdapter<VariableNode> {
constructor(util: Util, settings: IConvertSettings);
handle(valueNode: VariableNode, fieldName: string, convertContext: IConvertContext): IValueNodeHandlerOutput;
}