@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
11 lines (10 loc) • 302 B
TypeScript
import type { Base, Location, NoInfo, RNode } from '../model';
import type { RType } from '../type';
/**
* Unary operations like `+` and `-`
*/
export interface RUnaryOp<Info = NoInfo> extends Base<Info>, Location {
readonly type: RType.UnaryOp;
operator: string;
operand: RNode<Info>;
}