Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 7.84 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>Member</nonterminal><bgf:expression><nonterminal>TypedAttribute</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Member</nonterminal><bgf:expression><nonterminal>MethodBase</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Member</nonterminal><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Member</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>owner</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>TypedAttribute</nonterminal><bgf:expression><nonterminal>Field</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>TypedAttribute</nonterminal><bgf:expression><nonterminal>Property</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>TypedAttribute</nonterminal><bgf:expression><selectable><selector>type</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Field</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>type</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Property</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>isReadable</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isWritable</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MethodBase</nonterminal><bgf:expression><nonterminal>Constructor</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>MethodBase</nonterminal><bgf:expression><nonterminal>Method</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>MethodBase</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>visibility</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isAbstract</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isFinal</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><plus><bgf:expression><selectable><selector>parameters</selector><bgf:expression><nonterminal>Parameter</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Constructor</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>visibility</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isAbstract</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isFinal</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><plus><bgf:expression><selectable><selector>parameters</selector><bgf:expression><nonterminal>Parameter</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Method</nonterminal><bgf:expression><selectable><selector>returnType</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Type</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>qualifiedName</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isAbstract</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>visibility</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isSealed</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>nameSpace</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>members</selector><bgf:expression><nonterminal>Member</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>t_container</selector><bgf:expression><nonterminal>Assembly</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>super</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Parameter</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>isIn</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>isOut</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>position</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>method</selector><bgf:expression><nonterminal>MethodBase</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>type</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Assembly</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>content</selector><bgf:expression><nonterminal>Type</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></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: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>