@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
12 lines (11 loc) • 455 B
TypeScript
import type { Leaf, Location, NoInfo, RNode } from '../model';
import type { RStringValue } from '../../../convert-values';
import { RType } from '../type';
/**
* Represents a string like `"hello"`, including raw strings like `r"(hello)"`.
*/
export interface RString<Info = NoInfo> extends Leaf<Info>, Location {
readonly type: RType.String;
content: RStringValue;
}
export declare function isRString(node: RNode | undefined): node is RString;