Class: DirectReplEval

January 18, 2022 · View on GitHub

Kui API Documentation - v11.0.0 / @kui-shell/core / DirectReplEval

Class: DirectReplEval

@kui-shell/core.DirectReplEval

Directly apply the given evaluator to the given arguments. This is the default evaluator implementation.

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DirectReplEval()

Properties

name

name: string = 'DirectReplEval'

Implementation of

ReplEval.name

Defined in

packages/core/src/repl/types.ts:55

Methods

apply

apply<T, O>(commandUntrimmed, execOptions, evaluator, args): T | Promise<T>

Type parameters

NameType
Textends KResponse<any>
Oextends ParsedOptions

Parameters

NameType
commandUntrimmedstring
execOptionsExecOptions
evaluatorEvaluator<T, O>
argsArguments<O>

Returns

T | Promise<T>

Implementation of

ReplEval.apply

Defined in

packages/core/src/repl/types.ts:57