Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 6.03 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>JavaProject</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>ownedPackageFragment</selector><bgf:expression><nonterminal>PackageFragment</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>PackageFragment</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>ownedCompilationUnit</selector><bgf:expression><nonterminal>CompilationUnit</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>CompilationUnit</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>importDeclaration</selector><bgf:expression><nonterminal>ImportDeclaration</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>ownedType</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>declaration</selector><bgf:expression><nonterminal>PackageDeclaration</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ImportDeclaration</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Type</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>nestedType</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>ownedSuperType</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>elementName</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>member_kind</selector><bgf:expression><nonterminal>MEMBER_KIND</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>methods</selector><bgf:expression><nonterminal>Method</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>fields</selector><bgf:expression><nonterminal>Field</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Field</nonterminal><bgf:expression><epsilon/></bgf:expression></bgf:production><bgf:production><nonterminal>Method</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>returnType</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>parametersName</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>parametersType</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>JavaElement</nonterminal><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>JavaElement</nonterminal><bgf:expression><nonterminal>Field</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>JavaElement</nonterminal><bgf:expression><nonterminal>Method</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>MEMBER_KIND</nonterminal><bgf:expression><choice><bgf:expression><selectable><selector>class</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>enum</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>interface</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>Annotation</selector><bgf:expression><epsilon/></bgf:expression></selectable></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>JavaProject</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>PackageFragment</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>CompilationUnit</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>ImportDeclaration</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>JavaElement</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>PackageDeclaration</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>PackageDeclaration</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</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:grammar>