UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

14 lines (13 loc) 529 B
import type { NormalizerData } from '../../normalizer-data'; import type { RIfThenElse } from '../../../../model/nodes/r-if-then-else'; import type { NamedJsonEntry } from '../../../json/format'; /** * Try to parse the construct as a {@link RIfThenElse}. */ export declare function tryNormalizeIfThen(data: NormalizerData, [ifT, lpT, cT, rpT, tT]: [ ifToken: NamedJsonEntry, leftParen: NamedJsonEntry, condition: NamedJsonEntry, rightParen: NamedJsonEntry, then: NamedJsonEntry ]): RIfThenElse | undefined;