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.
VariableHover
Defined in: packages/engine/src/language/DocumentReferences.ts:108
What a hover over a variable shows: where its value comes from, and the value.
Properties
Section titled “Properties”definition
Section titled “definition”readonly definition: | VariableReference | null;Defined in: packages/engine/src/language/DocumentReferences.ts:116
The definition this occurrence reads: the last one above it, or the occurrence itself where it is a definition. Null when nothing above defines the name, which the engine reports as an undefined variable.
definitionText
Section titled “definitionText”readonly definitionText: string | null;Defined in: packages/engine/src/language/DocumentReferences.ts:118
The defining line’s text, or null when there is no definition.
reference
Section titled “reference”readonly reference: VariableReference;Defined in: packages/engine/src/language/DocumentReferences.ts:110
The occurrence under the pointer.
readonly value: Value | null;Defined in: packages/engine/src/language/DocumentReferences.ts:124
The defining line’s result, taken from the results the host passed. Null when no results were passed or the line has none. The service does not evaluate anything itself: a host already has these answers.