This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.
VariableReference
Defined in: packages/engine/src/language/DocumentReferences.ts:87
One place a variable is named in a document.
Extends
Section titled “Extends”Properties
Section titled “Properties”readonly from: number;Defined in: packages/engine/src/language/DocumentReferences.ts:81
Zero-based offset of the first character.
Inherited from
Section titled “Inherited from”global
Section titled “global”readonly global: boolean;Defined in: packages/engine/src/language/DocumentReferences.ts:91
Whether this is a global :name, shared with other documents, rather than this document’s own.
readonly kind: "definition" | "read";Defined in: packages/engine/src/language/DocumentReferences.ts:98
definition where the line writes the name (:tax = 20%, tax = 20%,
total += 5, f(x) = 2x), read anywhere else. A goal seek’s unknown
(solve line 4 for rate = 900) is a read: it names the variable the
seek varies.
readonly line: number;Defined in: packages/engine/src/language/DocumentReferences.ts:79
One-based line number.
Inherited from
Section titled “Inherited from”readonly name: string;Defined in: packages/engine/src/language/DocumentReferences.ts:89
The name as written, without a : sigil or a global prefix.
readonly to: number;Defined in: packages/engine/src/language/DocumentReferences.ts:83
Zero-based offset just past the last character.