Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: uml/statecharts/extracted
Source used for this grammar: Hugo Brunelière, Statecharts.ecore
, 2005/08/03
Integer
, String
, Boolean
, BooleanExpression
, StateMachine
, State
, CompositeState
, Transition
, StateVertex
, Guard
, Event
), 0 root (—), 1 top (Integer
), 0 bottom (—).[value]
, [transitions]
, [top]
, [state_container]
, [internalTransitions]
, [deferrableEvents]
, [subVertexes]
, [isConcurrent]
, [transSM_container]
, [transS_container]
, [trigger]
, [guard]
, [source]
, [target]
, [sv_container]
, [outgoing]
, [incoming]
, [gua_container]
, [expression]
, [evt_container]
, [targets]
.Integer ::= integer
String ::= string
Boolean ::= "true" "false"
BooleanExpression ::= [value]::String
StateMachine ::= [transitions]::Transition[top]::State
State ::= CompositeState
State ::= [state_container]::StateMachine [internalTransitions]::Transition[deferrableEvents]::Event
CompositeState ::=
[subVertexes]::StateVertex
[isConcurrent]::BooleanTransition ::= [transSM_container]::StateMachine [transS_container]::State [trigger]::Event [guard]::Guard [source]::StateVertex [target]::StateVertex
StateVertex ::= State
StateVertex ::= [sv_container]::CompositeState [outgoing]::Transition[incoming]::Transition
Guard ::= [gua_container]::Transition [expression]::BooleanExpression
Event ::= [evt_container]::Transition[targets]::State