Options
All
  • Public
  • Public/Protected
  • All
Menu

Class 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.

Hierarchy

  • EvaluatableExpression

Index

Constructors

Properties

Constructors

  • Creates a new evaluatable expression object.

    Parameters

    • range: Range

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

    • Optional expression: string

      If specified overrides the extracted expression.

    Returns EvaluatableExpression

Properties

expression?: string
range: Range