@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / Helper
Interface: Helper<TContext, TInput, TOutput, TReporter, TKind>
Executable helper descriptor accepted by pipeline registration.
Remarks
Helpers created by createHelper are frozen and retain their object identity through registration and execution.
See
Extends
HelperDescriptor<TKind>
Type Parameters
TContext
TContext
Per-run context type.
TInput
TInput
Phase-specific input type.
TOutput
TOutput
Value transformed by the helper chain.
TReporter
TReporter extends PipelineReporter = PipelineReporter
Reporter type available during execution.
TKind
TKind extends HelperKind = HelperKind
Literal helper kind represented by the descriptor.
Properties
apply
readonly apply: HelperApplyFn<TContext, TInput, TOutput, TReporter>;Executes this helper when its dependency position is reached.
dependsOn
readonly dependsOn: readonly string[];Helper keys that place this helper later in the serial execution order.
Inherited from
key
readonly key: string;Dependency and override identity within kind.
Inherited from
kind
readonly kind: TKind;Execution phase and registry containing this helper.
Inherited from
mode
readonly mode: HelperMode;Duplicate-key registration policy.
Inherited from
priority
readonly priority: number;Relative ordering hint; higher values run first when dependencies permit.
Inherited from
origin?
readonly optional origin: string;Optional package or subsystem label used in diagnostics.
