Browsable Multiple Metalevels Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/atl/MoMM/extracted
Source used for this grammar: Julien Baudry, Multiple Metalevels, MoMM.ecore, 2006/07/20

Summary

Syntax

Boolean ::=
	"true"
	"false"
Integer ::=
	integer
String ::=
	string
ModelElement ::=
	Attribute
ModelElement ::=
	Relationship
ModelElement ::=
	[level]::Integer [name]::String [potency]::String [hasClass]::ModelElement [classElement]::ModelElement+ [elementTarget]::Relationship [elementSource]::Relationship [attributes]::Attribute+ [attType]::Attribute
Attribute ::=
	[type]::ModelElement
Relationship ::=
	Generalization
Relationship ::=
	Association
Generalization ::=
	[target]::ModelElement [source]::ModelElement
Association ::=
	[maxSource]::String [maxTarget]::String [minSource]::String [minTarget]::String

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