Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/oop/simple-class/extracted
Source used for this grammar: Ivan Kurtev, SimpleClass 0.2, WTIP_SimpleClass.ecore
,
Classifier
, Class
, PrimitiveDataType
, Association
, Attribute
, String
, Boolean
), 0 root (—), 1 top (Association
), 0 bottom (—).[name]
4, [is_persistent]
, [parent]
, [attrs]
, [src]
, [dest]
, [is_primary]
, [type]
.Classifier ::= Class
Classifier ::= PrimitiveDataType
Classifier ::= [name]::String
Class ::=
[is_persistent]::Boolean [parent]::Class [attrs]::Attribute
PrimitiveDataType ::= [name]::String
Association ::= [name]::String [src]::Class [dest]::Class
Attribute ::= [name]::String [is_primary]::Boolean [type]::Classifier
String ::= string
Boolean ::= "true" "false"