Browsable Company Structure Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/company/extracted
Source used for this grammar: Julien Baudry, Company Structure, CompanyStructure.ecore, 2006/07/20

Summary

Syntax

Company ::=
	[corporateHQ]::CorporateHQ [Store]::Store+
CorporateHQ ::=
	[manages]::Store+ [corporateHQBackOffice]::CorporateHQBackOffice
Store ::=
	[storeBackOffice]::StoreBackOffice [employee]::Employee+ [cashRegister]::CashRegister+
CorporateHQBackOffice ::=
	ε
StoreBackOffice ::=
	ε
Employee ::=
	ε
CashRegister ::=
	ε
Boolean ::=
	"true"
	"false"
Integer ::=
	integer
String ::=
	string

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