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
Boolean
, Integer
, String
, ModelElement
, Constraint
, TaggedValue
, TagDefinition
, Multiplicity
, GeneralizableElement
, Stereotype
, Geometry
, Name
), 0 root (—), 3 top (Boolean
, Integer
, GeneralizableElement
), 0 bottom (—).[referenceTag]
, [stereotype]
, [constraint]
, [taggedValue]
, [constrainedElement]
, [constrainedStereotype]
, [dataValue]
, [referenceValue]
, [type]
, [tagType]
, [multiplicity]
, [typedValue]
, [owner]
, [value]
3, [icon]
, [baseClass]
, [definedTag]
, [stereotypeConstraint]
, [extendedElement]
.Boolean ::= "true" "false"
Integer ::= integer
String ::= string
ModelElement ::= TagDefinition
ModelElement ::= [referenceTag]::TaggedValue[stereotype]::Stereotype [constraint]::Constraint [taggedValue]::TaggedValue
Constraint ::=
[constrainedElement]::ModelElement
[constrainedStereotype]::StereotypeTaggedValue ::=
[dataValue]::String [referenceValue]::ModelElement
[type]::TagDefinitionTagDefinition ::=
[tagType]::String [multiplicity]::Multiplicity [typedValue]::TaggedValue
[owner]::StereotypeMultiplicity ::= [value]::String
GeneralizableElement ::= Stereotype
Stereotype ::= [icon]::Geometry [baseClass]::Name[definedTag]::TagDefinition [stereotypeConstraint]::Constraint [extendedElement]::ModelElement
Geometry ::= [value]::String
Name ::= [value]::String