UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

16 lines (15 loc) 530 B
import type { Base, Location, NoInfo, RNode } from '../model'; import type { RType } from '../type'; import type { RSymbol } from './r-symbol'; /** * Represents a named or unnamed argument of a function definition in R. */ export interface RArgument<Info = NoInfo> extends Base<Info>, Location { readonly type: RType.Argument; name: RSymbol<Info> | undefined; value: RNode<Info> | undefined; } export interface RUnnamedArgument<Info = NoInfo> extends RArgument<Info> { name: undefined; value: RNode<Info>; }