Browsable Measure 2.0 Grammar

CC-BY

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

Summary

Syntax

ModelKind ::=
	[KM3]::ε
	[UML2]::ε
RootMeasureSet ::=
	[modelType]::ModelKind [categories]::Category+ [measureSets]::MeasureSet+
Category ::=
	[name]::String [desc]::String [metrics]::Metric+ [root]::RootMeasureSet
Metric ::=
	[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

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