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.

Constructor

new(range:Range, ?expression:String)

Creates a new evaluatable expression object.

Parameters:

range

The range in the underlying document from which the evaluatable expression is extracted.

expression

If specified overrides the extracted expression.

Variables

read onlyexpression:Null<String>

read onlyrange:Range