Expand description
YAML machine-definition model (SPEC §4) and raw deserialization.
These structs mirror schema/machine.schema.json closely. Structural validation
(unknown fields, required fields, basic shapes) is enforced by serde’s
deny_unknown_fields plus [crate::validate]; richer semantic checks (reference
resolution, choice defaults/acyclicity, esv scope, contracts) live in the validator.
Structs§
- After
Timer - Choice
Branch - EsvDecl
- Event
Decl - Initial
Transition - Languages
- Migration
- Payload
Field - RawMachine
- Region
- State
Node - Transition
Enums§
Functions§
- esv_
init_ value - Convert a raw esv init literal (YAML) into a Value, checking it matches the type.
- inline_
submachines - Inline
submachine:references into a nested state tree (SPEC §5.6.1). - parse_
action - Parse one action from its raw YAML mapping.
- parse_
actions