EvaluatableExpression

An EvaluatableExpression represents an expression in a document that can be evaluated by an active debugger or runtime. The result of this evaluation is shown in a tooltip-like widget. If only a range is specified, the expression will be extracted from the underlying document. An optional expression can be used to override the extracted expression. In this case the range is still used to highlight the range in the document.

Online Documentation

Constructors

Link copied to clipboard
constructor(range: Range, expression: String = definedExternally)

Creates a new evaluatable expression object.

Properties

Link copied to clipboard

If specified the expression overrides the extracted expression.

Link copied to clipboard

The range is used to extract the evaluatable expression from the underlying document and to highlight it.