Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/atl/Measure/extracted
Source used for this grammar: Unknown Author, Measure 2.0, Measure.ecore
, 2007/06/05
ModelKind
, RootMeasureSet
, Category
, Metric
, ElementKind
, MeasureSet
, Measure
, IntegerMeasure
, DoubleMeasure
, PercentageMeasure
, String
, Boolean
, Integer
), 0 root (—), 1 top (Boolean
), 1 bottom (Double
2).[KM3]
, [UML2]
, [modelType]
, [categories]
, [measureSets]
, [name]
2, [desc]
2, [metrics]
, [root]
2, [preferredValue]
, [category]
, [metamodel]
, [model]
, [package]
, [interface]
, [class]
, [elementName]
, [elementType]
, [measures]
, [subsets]
, [parent]
, [value]
3.ModelKind ::= [KM3]::ε [UML2]::ε
RootMeasureSet ::= [modelType]::ModelKind [categories]::Category[measureSets]::MeasureSet
Category ::=
[name]::String [desc]::String [metrics]::Metric
[root]::RootMeasureSetMetric ::= [name]::String [desc]::String [preferredValue]::String [category]::Category
ElementKind ::= [metamodel]::ε [model]::ε [package]::ε [interface]::ε [class]::ε
MeasureSet ::= [elementName]::String [elementType]::ElementKind [measures]::Measure[root]::RootMeasureSet [subsets]::MeasureSet [parent]::MeasureSet
Measure ::= IntegerMeasure
Measure ::= DoubleMeasure
Measure ::= PercentageMeasure
IntegerMeasure ::= [value]::Integer
DoubleMeasure ::= [value]::Double
PercentageMeasure ::= [value]::Double
String ::= string
Boolean ::= "true" "false"
Integer ::= integer