Browsable Stereotypes Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: uml/stereo/extracted
Source used for this grammar: Julien Baudry, Abstract Syntax for Stereotypes in UML 1.4, AbstractSyntaxStereotypesUML1.4.ecore, 2006/07/10

Summary

Syntax

Boolean ::=
	"true"
	"false"
Integer ::=
	integer
String ::=
	string
ModelElement ::=
	TagDefinition
ModelElement ::=
	[referenceTag]::TaggedValue+ [stereotype]::Stereotype+ [constraint]::Constraint+ [taggedValue]::TaggedValue+
Constraint ::=
	[constrainedElement]::ModelElement+ [constrainedStereotype]::Stereotype
TaggedValue ::=
	[dataValue]::String [referenceValue]::ModelElement+ [type]::TagDefinition
TagDefinition ::=
	[tagType]::String [multiplicity]::Multiplicity [typedValue]::TaggedValue+ [owner]::Stereotype
Multiplicity ::=
	[value]::String
GeneralizableElement ::=
	Stereotype
Stereotype ::=
	[icon]::Geometry [baseClass]::Name+ [definedTag]::TagDefinition+ [stereotypeConstraint]::Constraint+ [extendedElement]::ModelElement+
Geometry ::=
	[value]::String
Name ::=
	[value]::String

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