EvaluatableExpressionProvider constructor
EvaluatableExpressionProvider({
- FutureOr<
EvaluatableExpression> provideEvaluatableExpression()?,
Implementation
factory EvaluatableExpressionProvider(
{_i4.FutureOr<_i3.EvaluatableExpression> Function(
_i3.TextDocument,
_i3.Position,
_i3.CancellationToken,
)? provideEvaluatableExpression}) =>
EvaluatableExpressionProvider._(
provideEvaluatableExpression: provideEvaluatableExpression == null
? null
: _i5.allowInterop((
p0,
p1,
p2,
) =>
_i6.Promise.futureOr(() => provideEvaluatableExpression(
p0,
p1,
p2,
))));