UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

17 lines (16 loc) 945 B
import { type RFunctionArgument } from '../../../../../../r-bridge/lang-4.x/ast/model/nodes/r-function-call'; import type { RNode } from '../../../../../../r-bridge/lang-4.x/ast/model/model'; /** * Retrieve the value from an argument, if it is not empty. * @see {@link unpackArg} - to specifically retrieve non-named arguments */ export declare function unpackNonameArg<OtherInfo>(arg: RFunctionArgument<OtherInfo> | undefined): RNode<OtherInfo> | undefined; /** * Retrieve the value from a non-named argument, if it is not empty. * @see {@link unpackNonameArg} - to specifically retrieve non-named arguments */ export declare function unpackArg<OtherInfo>(arg: RFunctionArgument<OtherInfo> | undefined): RNode<OtherInfo> | undefined; /** * Try to unpack the given argument, if it is not empty. */ export declare function tryUnpackNoNameArg<OtherInfo>(arg: RFunctionArgument<OtherInfo>): RNode<OtherInfo> | RFunctionArgument<OtherInfo>;