Browsable UML Metamodel Fragment Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: uml/fragment/extracted
Source used for this grammar: Julien Baudry, UML Metamodel Fragment integrating statecharts, generalization of classes, and stereotypes, UML_metamodel_fragment.ecore, 2006/07/20

Summary

Syntax

Class ::=
	[parent]::Generalization [child]::Generalization [dependency]::Dependency
Generalization ::=
	ε
Dependency ::=
	[supplier]::StateMachine [client]::Class [stereotype]::Stereotype
Stereotype ::=
	[baseClass]::String [extendedElement]::Dependency
StateMachine ::=
	[context]::Class [top]::State
State ::=
	CompositeState
State ::=
	SimpleState
State ::=
	FinalState
State ::=
	[stateMachine]::StateMachine [internal]::Transition
CompositeState ::=
	[subvertex]::StateVertex
SimpleState ::=
	[stateMachine]::StateMachine [internal]::Transition
FinalState ::=
	[stateMachine]::StateMachine [internal]::Transition
StateVertex ::=
	State
StateVertex ::=
	PseudoState
StateVertex ::=
	[compositeState]::CompositeState
PseudoState ::=
	[compositeState]::CompositeState
Transition ::=
	[trigger]::Event [source]::StateVertex [target]::StateVertex
Event ::=
	ε
Boolean ::=
	"true"
	"false"
Integer ::=
	integer
String ::=
	string

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