UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

20 lines (19 loc) 1.04 kB
import type { BaseQueryFormat, BaseQueryResult } from '../../base-query-format'; import type { NormalizedAst } from '../../../r-bridge/lang-4.x/ast/model/processing/decorate'; import { executeNormalizedAstQuery } from './normalized-ast-query-executor'; import Joi from 'joi'; /** * Simple re-returns the normalized AST of the analysis. */ export interface NormalizedAstQuery extends BaseQueryFormat { readonly type: 'normalized-ast'; } export interface NormalizedAstQueryResult extends BaseQueryResult { readonly normalized: NormalizedAst; } export declare const NormalizedAstQueryDefinition: { readonly executor: typeof executeNormalizedAstQuery; readonly asciiSummarizer: (formatter: import("../../../util/text/ansi").OutputFormatter, _analyzer: import("../../../project/flowr-analyzer").ReadonlyFlowrAnalysisProvider<import("../../../r-bridge/parser").KnownParser>, queryResults: BaseQueryResult, result: string[]) => true; readonly schema: Joi.ObjectSchema<any>; readonly flattenInvolvedNodes: () => never[]; };