registerEvaluatableExpressionProvider method

Disposable registerEvaluatableExpressionProvider(
  1. Object selector,
  2. EvaluatableExpressionProvider provider
)

Register a provider that locates evaluatable expressions in text documents. The editor will evaluate the expression in the active debug session and will show the result in the debug hover.

If multiple providers are registered for a language an arbitrary provider will be used.

Implementation

_i3.Disposable registerEvaluatableExpressionProvider(
  _i2.Object selector,
  _i3.EvaluatableExpressionProvider provider,
) =>
    _i4.callMethod(
      this,
      'registerEvaluatableExpressionProvider',
      [
        selector,
        provider,
      ],
    );