Table of Contents

Method EvaluateExpressionAsync

Namespace
Alternet.Scripter.Debugger.TypeScript
Assembly
Alternet.Scripter.TypeScript.Debugger.v9.dll

EvaluateExpressionAsync(ExpressionEvaluationRequest, CancellationToken)

Evaluates an expression based on the current stack frame. If the expression can be parsed but not evaluated, an object is returned but will not contain a valid value.

public Task<ExpressionEvaluationResult> EvaluateExpressionAsync(ExpressionEvaluationRequest request, CancellationToken cancellationToken = default)

Parameters

request ExpressionEvaluationRequest

Data for expression evaluation request.

cancellationToken CancellationToken

Token allowing cancellation of request.

Returns

Task<ExpressionEvaluationResult>

ExpressionEvaluationResult contains data of evaluated expression.