Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 5.97 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>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>MSPProject</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>resource</selector><bgf:expression><nonterminal>MSPResource</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>link</selector><bgf:expression><nonterminal>MSPLink</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>task</selector><bgf:expression><nonterminal>MSPTask</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MSPTask</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>finishDate</selector><bgf:expression><nonterminal>Date</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>startDate</selector><bgf:expression><nonterminal>Date</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>project</selector><bgf:expression><nonterminal>MSPProject</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>superTask</selector><bgf:expression><nonterminal>MSPTask</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>subTask</selector><bgf:expression><nonterminal>MSPTask</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>assignment</selector><bgf:expression><nonterminal>MSPAssignment</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>inLink</selector><bgf:expression><nonterminal>MSPLink</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>outLink</selector><bgf:expression><nonterminal>MSPLink</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MSPLink</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>project</selector><bgf:expression><nonterminal>MSPProject</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>succ</selector><bgf:expression><nonterminal>MSPTask</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>pred</selector><bgf:expression><nonterminal>MSPTask</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MSPAssignment</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>task</selector><bgf:expression><nonterminal>MSPTask</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>resource</selector><bgf:expression><nonterminal>MSPResource</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MSPResource</nonterminal><bgf:expression><nonterminal>MSPHumanResource</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>MSPResource</nonterminal><bgf:expression><nonterminal>MSPMachine</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>MSPResource</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>cost</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>project</selector><bgf:expression><nonterminal>MSPProject</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>assignment</selector><bgf:expression><nonterminal>MSPAssignment</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MSPHumanResource</nonterminal><bgf:expression><selectable><selector>email</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>MSPMachine</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>cost</selector><bgf:expression><nonterminal>Double</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>project</selector><bgf:expression><nonterminal>MSPProject</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>assignment</selector><bgf:expression><nonterminal>MSPAssignment</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Date</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>day</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>month</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>year</selector><bgf:expression><nonterminal>Integer</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production></bgf:grammar>