@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
18 lines (17 loc) • 880 B
TypeScript
import type { Feature } from '../../feature';
import type { Writable } from 'ts-essentials';
declare const initialControlflowInfo: {
ifThen: import("../../common-syntax-probability").CommonSyntaxTypeCounts<bigint>;
thenBody: import("../../common-syntax-probability").CommonSyntaxTypeCounts<bigint>;
ifThenElse: import("../../common-syntax-probability").CommonSyntaxTypeCounts<bigint>;
elseBody: import("../../common-syntax-probability").CommonSyntaxTypeCounts<bigint>;
/** can be nested with if-s or if-then-else's */
nestedIfThen: number;
nestedIfThenElse: number;
deepestNesting: number;
/** switch(...) */
switchCase: import("../../common-syntax-probability").CommonSyntaxTypeCounts<bigint>;
};
export type ControlflowInfo = Writable<typeof initialControlflowInfo>;
export declare const controlflow: Feature<ControlflowInfo>;
export {};