Browsable ControllerUML 1.0 Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/atl/ControllerUML/extracted
Source used for this grammar: Youssef Srour, ControllerUML 1.0, ControllerUML.ecore, 2006/07/28

Summary

Syntax

String ::=
	string
Boolean ::=
	"true"
	"false"
Integer ::=
	integer
ControllerAttribute ::=
	[controller]::Controller
Controller ::=
	[controllerAttribute]::ControllerAttribute+ [behavior]::StateMachine
StateMachine ::=
	[states]::State+
State ::=
	SubControllerState
State ::=
	ViewState
State ::=
	[substates]::State+ [theContainer]::State [outGoing]::StateTransition+ [incoming]::StateTransition+
SubControllerState ::=
	[controller]::Controller
ViewState ::=
	[substates]::State+ [theContainer]::State [outGoing]::StateTransition+ [incoming]::StateTransition+
StateTransition ::=
	[source]::State [target]::State [trigger]::Event [effect]::StateMachineAction
StateMachineAction ::=
	ε
Event ::=
	ε

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []