@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
16 lines (15 loc) • 1.25 kB
TypeScript
import type { OutputFormatter } from '../../../util/text/ansi';
import type { ReplOutput } from '../../../cli/repl/commands/repl-main';
import type { SignatureFunctionView, SignaturePackageView, SignatureQueryResult } from './signature-query-format';
/** print an in-repl usage guide for the signature query */
export declare function printSignatureHelp(output: ReplOutput): void;
/** render the full view of a single function into `result` */
export declare function pushFunction(result: string[], f: OutputFormatter, fn: SignatureFunctionView): void;
/** render the full view of a single package into `result` */
export declare function pushPackage(result: string[], f: OutputFormatter, p: SignaturePackageView): void;
/** render the function hits of a wildcard search into `result` */
export declare function pushMatches(result: string[], f: OutputFormatter, out: SignatureQueryResult): void;
/** render the package hits of a wildcard package search into `result` */
export declare function pushPackages(result: string[], f: OutputFormatter, out: SignatureQueryResult): void;
/** render the summary of the loaded databases into `result` */
export declare function pushSummary(result: string[], f: OutputFormatter, out: SignatureQueryResult): void;