Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 8.94 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>Port</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>service</selector><bgf:expression><nonterminal>Service</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>binding</selector><bgf:expression><nonterminal>Binding</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Service</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>ports</selector><bgf:expression><nonterminal>Port</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Param</nonterminal><bgf:expression><nonterminal>Input</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Param</nonterminal><bgf:expression><nonterminal>Output</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Param</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>message</selector><bgf:expression><nonterminal>Message</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Input</nonterminal><bgf:expression><selectable><selector>operation</selector><bgf:expression><nonterminal>Operation</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Output</nonterminal><bgf:expression><selectable><selector>operation</selector><bgf:expression><nonterminal>Operation</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>PortType</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>operations</selector><bgf:expression><nonterminal>Operation</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>bindings</selector><bgf:expression><nonterminal>Binding</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Operation</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>input</selector><bgf:expression><nonterminal>Input</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>output</selector><bgf:expression><nonterminal>Output</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>type</selector><bgf:expression><nonterminal>PortType</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>faults</selector><bgf:expression><nonterminal>Fault</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>StartWithExtensions</nonterminal><bgf:expression><nonterminal>Binding</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>StartWithExtensions</nonterminal><bgf:expression><nonterminal>BindingFault</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>StartWithExtensions</nonterminal><bgf:expression><nonterminal>BindingOperation</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>StartWithExtensions</nonterminal><bgf:expression><choice><bgf:expression><nonterminal>Binding</nonterminal></bgf:expression><bgf:expression><nonterminal>BindingFault</nonterminal></bgf:expression><bgf:expression><nonterminal>BindingOperation</nonterminal></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>Binding</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>ports</selector><bgf:expression><nonterminal>Port</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>type</selector><bgf:expression><nonterminal>PortType</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>operations</selector><bgf:expression><nonterminal>BindingOperation</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>BindingFault</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>operation</selector><bgf:expression><nonterminal>BindingOperation</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>binding</selector><bgf:expression><nonterminal>Fault</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>BindingOperation</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>bind</selector><bgf:expression><nonterminal>Binding</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>binding</selector><bgf:expression><nonterminal>Operation</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>input</selector><bgf:expression><nonterminal>StartWithExtensions</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>output</selector><bgf:expression><nonterminal>StartWithExtensions</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>faults</selector><bgf:expression><nonterminal>BindingFault</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Fault</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>operation</selector><bgf:expression><nonterminal>Operation</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>message</selector><bgf:expression><nonterminal>Message</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Message</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>params</selector><bgf:expression><nonterminal>Param</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>faults</selector><bgf:expression><nonterminal>Fault</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>parts</selector><bgf:expression><nonterminal>Part</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Part</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>message</selector><bgf:expression><nonterminal>Message</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>