Browsable Collaborations and Interactions Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: uml/collab/extracted
Source used for this grammar: Julien Baudry, Collaborations and Interactions in UML Metamodel, Collaborations_Interactions_UML.ecore, 2006/07/10

Summary

Syntax

Package ::=
	[ownedEltColl]::CollaborationPackage [ownedEltInt]::InteractionPackage+
ProviderClause ::=
	Package
ProviderClause ::=
	[ownedEltColl]::CollaborationPackage [ownedEltInt]::InteractionPackage+
CollaborationPackage ::=
	[ownedElt]::Collaboration
Collaboration ::=
	[interaction]::Interaction+ [ownedEltAss]::AssociationRole [ownedEltClass]::ClassifierRole
InteractionPackage ::=
	[providerClause]::ProviderClause [ownedElt]::Interaction
Interaction ::=
	[context]::Collaboration [message]::Message+
AssociationRole ::=
	[connection]::AssociationEndRole
ClassifierRole ::=
	[associationEndRole]::AssociationEndRole+ [receiverMess]::Message [senderMess]::Message [availableFeature]::Operation+ [base]::Interface
AssociationEndRole ::=
	[associationRole]::AssociationRole [type]::ClassifierRole
Message ::=
	[message]::Message+ [activator]::Message [interaction]::Interaction+ [receiver]::ClassifierRole [sender]::ClassifierRole [specification]::Request
Request ::=
	Operation
Request ::=
	[message]::Message+
Operation ::=
	[classifierRole]::ClassifierRole+ [owner]::Interface
Interface ::=
	[classifierRole]::ClassifierRole+ [feature]::Operation+
Boolean ::=
	"true"
	"false"
Integer ::=
	integer
String ::=
	string

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