Browsable QVT Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: uml/simple/extracted
Source used for this grammar: Ivan Kurtev, QVT_SimpleUML.ecore,

Summary

Syntax

UMLModelElement ::=
	Attribute
UMLModelElement ::=
	Package
UMLModelElement ::=
	PackageElement
Attribute ::=
	[owner]::Class [type]::Classifier
Package ::=
	[elements]::PackageElement+
PackageElement ::=
	Classifier
PackageElement ::=
	Association
Classifier ::=
	Class
Classifier ::=
	PrimitiveDataType
Class ::=
	[attribute]::Attribute+ [general]::Class+ [generalOpposite]::Class+ [reverse]::Association+ [forward]::Association+
PrimitiveDataType ::=
	[typeOpposite]::Attribute+
Association ::=
	[source]::Class [destination]::Class
String ::=
	string

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