Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

层级

  • EvaluatableExpression

索引

Constructors(1)

Properties(2)

Constructors(1)

constructor

  • 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(2)

Readonly range

range: Range

Optional Readonly expression

expression: string

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹