Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/petstore/usecase/extracted
Source used for this grammar: Brahim Loukil, Simple Use Case 1.0, useCase.ecore
, 2008
Actor
, UseCase
, Extend
, Include
, UseCaseContainer
, BehavioredClassifier
, NamedElement
, Association
, String
), 0 root (—), 2 top (UseCaseContainer
, BehavioredClassifier
), 0 bottom (—).[name]
, [include]
, [extend]
, [extension]
, [includingCase]
, [ownedElement]
, [actor]
, [useCase]
.Actor ::= [name]::String
UseCase ::= [include]::Include[extend]::Extend
Extend ::=
[extension]::UseCase
Include ::=
[includingCase]::UseCase
UseCaseContainer ::=
[ownedElement]::NamedElement
BehavioredClassifier ::= ε
NamedElement ::= Actor
NamedElement ::= UseCase
NamedElement ::= Association
Association ::= [actor]::Actor [useCase]::UseCase
String ::= string