@@ -576,11 +576,12 @@ type (
576576
577577 // A BehaviourSpec represents a behaviour type specification.
578578 BehaviourSpec struct {
579- KindTok Token // TESTCASE, FUNCTION, ALTSTEP
580- Params * FormalPars // Parameter list or nil
581- RunsOn * RunsOnSpec // runs on spec or nil
582- System * SystemSpec // system spec or nil
583- Return * ReturnSpec // return value spec or nil
579+ KindTok Token // TESTCASE, FUNCTION, ALTSTEP
580+ Interleave Token // INTERLEAVE or nil
581+ Params * FormalPars // Parameter list or nil
582+ RunsOn * RunsOnSpec // runs on spec or nil
583+ System * SystemSpec // system spec or nil
584+ Return * ReturnSpec // return value spec or nil
584585 }
585586)
586587
@@ -636,18 +637,19 @@ type (
636637
637638 // A FuncDecl represents a behaviour definition.
638639 FuncDecl struct {
639- External Token // Position of "external" or nil
640- KindTok Token // TESTCASE, ALTSTEP, FUNCTION
641- Name * Ident
642- Modif Token // Position of "@deterministic" or nil
643- TypePars * FormalPars
644- Params * FormalPars // Formal parameter list or nil
645- RunsOn * RunsOnSpec // Optional runs-on-spec
646- Mtc * MtcSpec // Optional mtc-spec
647- System * SystemSpec // Optional system-spec
648- Return * ReturnSpec // Optional return-spec
649- Body * BlockStmt // Body or nil
650- With * WithSpec
640+ External Token // Position of "external" or nil
641+ KindTok Token // TESTCASE, ALTSTEP, FUNCTION
642+ Interleave Token // INTERLEAVE or nil
643+ Name * Ident
644+ Modif Token // Position of "@deterministic" or nil
645+ TypePars * FormalPars
646+ Params * FormalPars // Formal parameter list or nil
647+ RunsOn * RunsOnSpec // Optional runs-on-spec
648+ Mtc * MtcSpec // Optional mtc-spec
649+ System * SystemSpec // Optional system-spec
650+ Return * ReturnSpec // Optional return-spec
651+ Body * BlockStmt // Body or nil
652+ With * WithSpec
651653 }
652654
653655 // A ConstructorDecl represents a class constructor definition.
@@ -728,15 +730,16 @@ type (
728730
729731 // A BehaviourTypeDecl represents a named behaviour type.
730732 BehaviourTypeDecl struct {
731- TypeTok Token // Position of "type"
732- KindTok Token // TESTCASE, ALTSTEP, FUNCTION
733- Name * Ident
734- TypePars * FormalPars
735- Params * FormalPars // Formal parameter list
736- RunsOn * RunsOnSpec // Optional runs-on spec
737- System * SystemSpec // Optional system spec
738- Return * ReturnSpec // Optional return spec
739- With * WithSpec
733+ TypeTok Token // Position of "type"
734+ KindTok Token // TESTCASE, ALTSTEP, FUNCTION
735+ Interleave Token // INTERLEAVE or nil
736+ Name * Ident
737+ TypePars * FormalPars
738+ Params * FormalPars // Formal parameter list
739+ RunsOn * RunsOnSpec // Optional runs-on spec
740+ System * SystemSpec // Optional system spec
741+ Return * ReturnSpec // Optional return spec
742+ With * WithSpec
740743 }
741744
742745 PortTypeDecl struct {
0 commit comments