Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 9.99 KB
<?xml version="1.0" encoding="UTF-8"?>
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>Eclipse</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>Bundle</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>RequireBundleAttribute</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>Version</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>RequiredBundle</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>ImportedPackage</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>ExportedPackage</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>LocatedElement</nonterminal><bgf:expression><nonterminal>Xfriends</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Resolution</nonterminal><bgf:expression><choice><bgf:expression><selectable><selector>Mandatory</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>Optional</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>Visibility</nonterminal><bgf:expression><choice><bgf:expression><selectable><selector>Private</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>Reexport</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>Eclipse</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>bundles</selector><bgf:expression><nonterminal>Bundle</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>packages</selector><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Bundle</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>symbolicName</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>singleton</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>manifestVersion</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>require</selector><bgf:expression><nonterminal>RequiredBundle</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>version</selector><bgf:expression><nonterminal>Version</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>export</selector><bgf:expression><nonterminal>ExportedPackage</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>import</selector><bgf:expression><nonterminal>ImportedPackage</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>packages</selector><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>RequireBundleAttribute</nonterminal><bgf:expression><nonterminal>AttResolution</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>RequireBundleAttribute</nonterminal><bgf:expression><nonterminal>AttVisibility</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>RequireBundleAttribute</nonterminal><bgf:expression><nonterminal>Range</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>AttResolution</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>Resolution</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>AttVisibility</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>Visibility</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Range</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>isLeftInclusive</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isRightInclusive</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>lowerBound</selector><bgf:expression><nonterminal>Version</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>upperBound</selector><bgf:expression><nonterminal>Version</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Version</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>major</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>minor</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>micro</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>qualification</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>RequiredBundle</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>requireBundleAttribute</selector><bgf:expression><nonterminal>RequireBundleAttribute</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>bundle</selector><bgf:expression><nonterminal>Bundle</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ImportedPackage</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>resolution</selector><bgf:expression><nonterminal>Resolution</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>package</selector><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>range</selector><bgf:expression><nonterminal>Range</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ExportedPackage</nonterminal><bgf:expression><nonterminal>Xinternal</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ExportedPackage</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>package</selector><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>version</selector><bgf:expression><nonterminal>Version</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>xFriends</selector><bgf:expression><nonterminal>Xfriends</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Package</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>fqn</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>importedBy</selector><bgf:expression><nonterminal>ImportedPackage</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>exportedBy</selector><bgf:expression><nonterminal>ExportedPackage</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Xfriends</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>bundles</selector><bgf:expression><nonterminal>Bundle</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>Xinternal</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Boolean</nonterminal><bgf:expression><choice><bgf:expression><terminal>true</terminal></bgf:expression><bgf:expression><terminal>false</terminal></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>Integer</nonterminal><bgf:expression><value>int</value></bgf:expression></bgf:production><bgf:production><nonterminal>String</nonterminal><bgf:expression><value>string</value></bgf:expression></bgf:production></bgf:grammar>