Skip to content

Interface: LocalCommandCheckNode<THandle> ​

Defined in: ast/domain/local-command-check-node.ts:12

Passive AST node adapting a LocalCommandNode into a deterministic CheckASTNode (cmd.asCheck()).

Executes the underlying command inside the active isolation scope and reports a passing check when the subprocess exits with status code 0.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownIsolation scope handle type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the check to its compatible scope handle type.BaseCheckASTNode.__handleBrandast/base/base-check-ast-node.ts:18
commandreadonlyLocalCommandNode<unknown, unknown, THandle>Underlying one-shot command node executed by the check.-ast/domain/local-command-check-node.ts:15
idreadonlystringLogical identifier of the check instance.BaseCheckASTNode.idast/base/base-check-ast-node.ts:16
typereadonly"node:command-check"Unique string-literal discriminant of the check node.BaseCheckASTNode.typeast/base/base-check-ast-node.ts:14

Released under the MIT License.