Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/hsm/machine/extracted
Source used for this grammar: Youssef Srour, Hierarchical State Machine 1.0, HierarchicalStateMachine.ecore
, 2006/07/14
MgaObject
, StateBase
, DataVar
, Transition
, StateDateRelation
, RootFolder
, OrState
, AndState
, CompoundState
, PrimitiveState
, Init
, State
, StateDataRelation
, AssociationStateState
, AssociationDataStateBase
, String
, Boolean
, Integer
), 0 root (—), 2 top (MgaObject
, Integer
), 0 bottom (—).[name]
2, [position]
, [defaultTransition]
, [marked]
, [associationStateStatedst]
, [associationStateStatesrc]
, [data]
, [associationDataStateBase]
2, [stateBase]
2, [orState]
7, [guard]
, [trigger]
, [action]
, [isSync]
, [associationStateState]
, [value]
2, [color]
2, [rootFolders]
, [rootFolder]
, [state]
, [init]
, [dataVar]
2, [stateDataRelation]
2, [transition]
2, [compoundState]
2, [andState]
, [associationDataStateBase1]
, [dstTransition]
, [srcTransition]
.MgaObject ::= StateBase
MgaObject ::= DataVar
MgaObject ::= Transition
MgaObject ::= StateDateRelation
MgaObject ::= [name]::String [position]::String
StateBase ::= CompoundState
StateBase ::= PrimitiveState
StateBase ::= [defaultTransition]::String [marked]::Boolean [associationStateStatedst]::AssociationStateState[associationStateStatesrc]::AssociationStateState [data]::DataVar [associationDataStateBase]::AssociationDataStateBase
DataVar ::=
[stateBase]::StateBase
[orState]::OrState [associationDataStateBase]::AssociationDataStateBaseTransition ::= [guard]::String [trigger]::String [action]::String [isSync]::Boolean [orState]::OrState [associationStateState]::AssociationStateState
StateDateRelation ::= [value]::String [color]::String
RootFolder ::= [name]::String [rootFolders]::RootFolder[orState]::OrState
OrState ::= [rootFolder]::RootFolder [state]::State[init]::Init [dataVar]::DataVar [stateDataRelation]::StateDataRelation [transition]::Transition [compoundState]::CompoundState
AndState ::=
[compoundState]::CompoundState
CompoundState ::= OrState
CompoundState ::= AndState
CompoundState ::= [andState]::AndState [orState]::OrState
PrimitiveState ::= Init
PrimitiveState ::= State
PrimitiveState ::= StateDataRelation
PrimitiveState ::= Init State StateDataRelation
Init ::= [orState]::OrState
State ::= [orState]::OrState
StateDataRelation ::= [value]::String [color]::String [orState]::OrState [associationDataStateBase1]::AssociationDataStateBase
AssociationStateState ::= [transition]::Transition [dstTransition]::StateBase[srcTransition]::StateBase
AssociationDataStateBase ::= [stateDataRelation]::StateDataRelation [dataVar]::DataVar[stateBase]::StateBase
String ::= string
Boolean ::= "true" "false"
Integer ::= integer