UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

17 lines (16 loc) 836 B
import type { IdMessageBase, MessageDefinition } from './all-messages'; import type { Queries, QueryResults, SupportedQueryTypes } from '../../../../queries/query'; export interface QueryRequestMessage extends IdMessageBase { type: 'request-query'; /** The {@link FileAnalysisRequestMessage#filetoken} of the file/data */ filetoken: string; /** The query to run on the file analysis information */ query: Queries<SupportedQueryTypes>; } export declare const requestQueryMessage: MessageDefinition<QueryRequestMessage>; export interface QueryResponseMessage extends IdMessageBase { type: 'response-query'; /** Contains an entry for each (non-virtual) query type requested */ results: QueryResults<SupportedQueryTypes>; } export declare const responseQueryMessage: MessageDefinition<QueryResponseMessage>;