Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/oop/class/extracted
Source used for this grammar: Frédéric Jouault, Class 1.1, Class.ecore
, 2005/03/18
Boolean
, Integer
, String
, NamedElt
, Classifier
, DataType
, Class
, Attribute
), 0 root (—), 3 top (Integer
, String
, NamedElt
), 0 bottom (—).[super]
, [attr]
, [isAbstract]
, [multiValued]
, [type]
, [owner]
.Boolean ::= "true" "false"
Integer ::= integer
String ::= string
NamedElt ::= Classifier
NamedElt ::= Attribute
Classifier ::= DataType
Classifier ::= Class
DataType ::= ε
Class ::= [super]::Class[attr]::Attribute [isAbstract]::Boolean
Attribute ::= [multiValued]::Boolean [type]::Classifier [owner]::Class