Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 2.13 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>JavaSource</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>classes</selector><bgf:expression><nonterminal>ClassDeclaration</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>ClassDeclaration</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>NamedElement</nonterminal><bgf:expression><nonterminal>MethodDefinition</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ClassDeclaration</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>superclass</selector><bgf:expression><nonterminal>ClassDeclaration</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>methods</selector><bgf:expression><nonterminal>MethodDefinition</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MethodDefinition</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>class</selector><bgf:expression><nonterminal>ClassDeclaration</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>invocations</selector><bgf:expression><nonterminal>MethodInvocation</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MethodInvocation</nonterminal><bgf:expression><selectable><selector>method</selector><bgf:expression><nonterminal>MethodDefinition</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>String</nonterminal><bgf:expression><value>string</value></bgf:expression></bgf:production></bgf:grammar>