UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

14 lines (13 loc) 665 B
import type { NormalizerData } from '../../normalizer-data'; import type { RNode } from '../../../../model/model'; import type { RDelimiter } from '../../../../model/nodes/info/r-delimiter'; import type { NamedJsonEntry } from '../../../json/format'; /** * Parses a single structure in the ast based on its type (e.g., a string, a number, a symbol, ...) * * @param data - The data used by the parser (see {@link NormalizerData}) * @param elem - The element to parse * * @returns The parsed element as an `RNode` or an `RDelimiter` if it is such. */ export declare function normalizeSingleNode(data: NormalizerData, elem: NamedJsonEntry): RNode | RDelimiter;