ConstReadonlyname: "RValue"The number the value stands for, collapsing an interval that admits a single one.
ReadonlyofStringLiteral: (this: void, value: RStringValue) => ValueString<Lift<(...)>> | undefinedThe string a literal stands for, undefined when R would not accept it; see stringFromLiteral.
ReadonlyunescapeString: (this: void, str: string) => string | undefinedWhat the escapes in a string literal stand for; see unescapeRString.
Reads the plain TS value a Value stands for,
undefinedwhenever it stands for more than one, for none, or for another kind. Prefer these over reaching into a value's shape by hand.This is the constant-folding view: it answers "is this one known constant" and nothing else. It runs no fixpoint, knows no control flow, and widens nothing. For an abstract state that does, use the dedicated abstract interpretation in
src/abstract-interpretation/.