Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 6.02 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>JavaElement</nonterminal><bgf:expression><nonterminal>ClassFeature</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>JavaElement</nonterminal><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ClassFeature</nonterminal><bgf:expression><nonterminal>ClassMember</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ClassFeature</nonterminal><bgf:expression><nonterminal>JavaClass</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ClassFeature</nonterminal><bgf:expression><nonterminal>FeatureParameter</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ClassMember</nonterminal><bgf:expression><nonterminal>Field</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ClassMember</nonterminal><bgf:expression><nonterminal>Method</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Field</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>owner</selector><bgf:expression><nonterminal>JavaClass</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>type</selector><bgf:expression><nonterminal>JavaClass</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isStatic</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isPublic</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>JavaClass</nonterminal><bgf:expression><nonterminal>PrimitiveType</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>JavaClass</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>members</selector><bgf:expression><nonterminal>ClassMember</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>package</selector><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>typedElements</selector><bgf:expression><nonterminal>ClassMember</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>parameters</selector><bgf:expression><nonterminal>FeatureParameter</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>isAbstract</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isStatic</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isPublic</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Method</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>parameters</selector><bgf:expression><nonterminal>FeatureParameter</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>Package</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>classes</selector><bgf:expression><nonterminal>JavaClass</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>PrimitiveType</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>members</selector><bgf:expression><nonterminal>ClassMember</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>package</selector><bgf:expression><nonterminal>Package</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>typedElements</selector><bgf:expression><nonterminal>ClassMember</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>parameters</selector><bgf:expression><nonterminal>FeatureParameter</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>isAbstract</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isStatic</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isPublic</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>FeatureParameter</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>type</selector><bgf:expression><nonterminal>JavaClass</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>method</selector><bgf:expression><nonterminal>Method</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>String</nonterminal><bgf:expression><value>string</value></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:grammar>