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
Boolean
, Integer
, String
, ModelElement
, Attribute
, Relationship
, Generalization
, Association
), 0 root (—), 1 top (Boolean
), 0 bottom (—).[level]
, [name]
, [potency]
, [hasClass]
, [classElement]
, [elementTarget]
, [elementSource]
, [attributes]
, [attType]
, [type]
, [target]
, [source]
, [maxSource]
, [maxTarget]
, [minSource]
, [minTarget]
.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