Represents a string value in R, including the type of quotes used and whether it is a raw string.

interface RStringValue {
    flag?: "raw";
    quotes: "\"" | "'" | "none";
    str: string;
}

Properties

Properties

flag?: "raw"

a string is raw if prefixed with r

quotes: "\"" | "'" | "none"

from the R-language definition a string is either delimited by a pair of single or double quotes, 'none' strings are syntactically unquoted but treated as strings

str: string