JSSM, a JavaScript state machine - the FSM for FSL
    Preparing search index...

    Type Alias JssmGroupMemberRef

    JssmGroupMemberRef:
        | { kind: "state"; name: string }
        | { kind: "group"; mode: "nest" | "spread"; name: string }

    One ordered member of a named group's membership list. A 'state' member is an ordinary state (a inside &g : [a]). A 'group' member references another group: mode: 'nest' is the &child form, which preserves the child group's identity for later precedence/viz, while mode: 'spread' is the ...&child form, which inlines the child's members and erases that identity. Both modes resolve to the same flat set of states via JssmGroupRegistry resolution; only their structural bookkeeping differs.

    // `&outer : [&inner x];` direct members:
    // [ { kind: 'group', name: 'inner', mode: 'nest' },
    // { kind: 'state', name: 'x' } ]
    • JssmGroupRef
    • JssmGroupRegistry