IRecordPlanCompiler<'model, 'result>Type
PackageReified.Schema
Builds an interpreter-specific typed record plan from a model schema's authored shape.
Specification
Kind
Type
Members
3
Examples
0
OnCompleteSignature
this.OnComplete
OnEndSignature
this.OnEnd
OnFieldSignature
this.OnField
Summary
| Name | Signature | Synopsis |
|---|---|---|
| OnComplete | this.OnComplete | Completes a record plan with the original typed constructor. |
| OnEnd | this.OnEnd | Starts a record plan for a constructor with no consumed fields. |
| OnField | this.OnField | Appends one typed field to an interpreter-specific record plan. |
Completes a record plan with the original typed constructor.
Parameters
| Name | Type | Description |
|---|---|---|
| constructor | 'constructor | |
| plan | IRecordPlanState<'model, 'constructor, 'constructed> | |
| finish | 'constructed -> Result<'model, string> |
Returns
'result
Starts a record plan for a constructor with no consumed fields.
Returns
IRecordPlanState<'model, 'constructor, 'constructor>