UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

11 lines (10 loc) 705 B
import type { NormalizerData } from '../../normalizer-data'; import type { RDelimiter } from '../../../../model/nodes/info/r-delimiter'; import type { RNode } from '../../../../model/model'; import type { JsonEntry, NamedJsonEntry } from '../../../json/format'; export declare function splitComments(tokens: readonly NamedJsonEntry[]): { comments: NamedJsonEntry[]; others: NamedJsonEntry[]; }; export declare function normalizeExpressions(data: NormalizerData, tokens: readonly JsonEntry[] | readonly NamedJsonEntry[]): (RNode | RDelimiter)[]; export declare function parseNodesWithUnknownType(data: NormalizerData, mappedWithName: readonly NamedJsonEntry[] | undefined): (RNode | RDelimiter)[];