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

    Type Alias JssmGroupRef

    A bare reference to a named group as it appears in the parse tree — written &Name in FSL. Stands in for a state wherever a group may be used (a transition source/target, a state declaration subject, or a hook subject). Distinct from the &Name : [...] declaration form, which defines the group's members.

    import { parse } from 'jssm';
    parse('&busy : [a b]; &busy -> idle;')[1].from;
    // { key: 'group_ref', name: 'busy' }
    • JssmGroupMemberRef
    • JssmGroupRegistry
    type JssmGroupRef = {
        key: "group_ref";
        name: string;
    }
    Index
    key: "group_ref"
    name: string