@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
14 lines (13 loc) • 455 B
TypeScript
import type { Base, Location, NoInfo, RNode } from '../model';
import type { RType } from '../type';
import type { RSymbol } from './r-symbol';
/**
* Represents a parameter of a function definition in R.
*/
export interface RParameter<Info = NoInfo> extends Base<Info>, Location {
readonly type: RType.Parameter;
name: RSymbol<Info>;
/** is it the special ... parameter? */
special: boolean;
defaultValue: RNode<Info> | undefined;
}