Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 13.5 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>UEMLObject</nonterminal><bgf:expression><nonterminal>UEMLModel</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>UEMLObject</nonterminal><bgf:expression><nonterminal>Port</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>UEMLObject</nonterminal><bgf:expression><nonterminal>Flow</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>UEMLObject</nonterminal><bgf:expression><nonterminal>Object</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>UEMLObject</nonterminal><bgf:expression><nonterminal>Activity</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>UEMLObject</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>has</selector><bgf:expression><nonterminal>Geometry</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>model</selector><bgf:expression><nonterminal>UEMLModel</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>UEMLModel</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>contains</selector><bgf:expression><nonterminal>UEMLObject</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>Geometry</nonterminal><bgf:expression><selectable><selector>object</selector><bgf:expression><nonterminal>UEMLObject</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Port</nonterminal><bgf:expression><nonterminal>ResourceRole</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Port</nonterminal><bgf:expression><nonterminal>Anchor</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Port</nonterminal><bgf:expression><choice><bgf:expression><nonterminal>ResourceRole</nonterminal></bgf:expression><bgf:expression><nonterminal>Anchor</nonterminal></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>Flow</nonterminal><bgf:expression><nonterminal>ResourceFlow</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Flow</nonterminal><bgf:expression><nonterminal>IOFlow</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Flow</nonterminal><bgf:expression><nonterminal>ControlFlow</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Flow</nonterminal><bgf:expression><selectable><selector>associationConnector</selector><bgf:expression><nonterminal>AssociationConnector</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Activity</nonterminal><bgf:expression><nonterminal>Task</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Activity</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>resourceRole</selector><bgf:expression><nonterminal>ResourceRole</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>parent</selector><bgf:expression><nonterminal>Process</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>hasOutput</selector><bgf:expression><nonterminal>OutputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>hasInput</selector><bgf:expression><nonterminal>InputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Object</nonterminal><bgf:expression><nonterminal>InformationObject</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Object</nonterminal><bgf:expression><nonterminal>Resource</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Object</nonterminal><bgf:expression><selectable><selector>ioFlow</selector><bgf:expression><nonterminal>IOFlow</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>InformationObject</nonterminal><bgf:expression><selectable><selector>controlFlow</selector><bgf:expression><nonterminal>ControlFlow</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Resource</nonterminal><bgf:expression><nonterminal>MaterialResource</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Resource</nonterminal><bgf:expression><nonterminal>HumanResource</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Resource</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>carries</selector><bgf:expression><nonterminal>ResourceFlow</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>plays</selector><bgf:expression><nonterminal>ResourceRole</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>MaterialResource</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>carries</selector><bgf:expression><nonterminal>ResourceFlow</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>plays</selector><bgf:expression><nonterminal>ResourceRole</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>HumanResource</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>carries</selector><bgf:expression><nonterminal>ResourceFlow</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>plays</selector><bgf:expression><nonterminal>ResourceRole</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ResourceFlow</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>resourceCarries</selector><bgf:expression><nonterminal>Resource</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>IOFlow</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>carries</selector><bgf:expression><nonterminal>Object</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>ControlFlow</nonterminal><bgf:expression><nonterminal>TriggerFlow</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ControlFlow</nonterminal><bgf:expression><nonterminal>ConstraintFlow</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ControlFlow</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>carries</selector><bgf:expression><nonterminal>InformationObject</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production><bgf:production><nonterminal>TriggerFlow</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>carries</selector><bgf:expression><nonterminal>InformationObject</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ConstraintFlow</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>carries</selector><bgf:expression><nonterminal>InformationObject</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>ResourceRole</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>resourcePlays</selector><bgf:expression><nonterminal>Resource</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>roleQualifier</selector><bgf:expression><nonterminal>RoleType</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>in</selector><bgf:expression><nonterminal>Activity</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>RoleType</nonterminal><bgf:expression><epsilon/></bgf:expression></bgf:production><bgf:production><nonterminal>Anchor</nonterminal><bgf:expression><nonterminal>OutputPort</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Anchor</nonterminal><bgf:expression><nonterminal>InputPort</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Anchor</nonterminal><bgf:expression><nonterminal>ConnectionOperator</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Anchor</nonterminal><bgf:expression><choice><bgf:expression><nonterminal>OutputPort</nonterminal></bgf:expression><bgf:expression><nonterminal>InputPort</nonterminal></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>OutputPort</nonterminal><bgf:expression><selectable><selector>activity</selector><bgf:expression><nonterminal>Activity</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>InputPort</nonterminal><bgf:expression><selectable><selector>activity</selector><bgf:expression><nonterminal>Activity</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>ConnectionOperator</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>target</selector><bgf:expression><nonterminal>AssociationConnector</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>origin</selector><bgf:expression><nonterminal>AssociationConnector</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>AssociationConnector</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>origin</selector><bgf:expression><nonterminal>FlowObject</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>target</selector><bgf:expression><nonterminal>FlowObject</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>classAssociation</selector><bgf:expression><nonterminal>Flow</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Task</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>resourceRole</selector><bgf:expression><nonterminal>ResourceRole</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>parent</selector><bgf:expression><nonterminal>Process</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>hasOutput</selector><bgf:expression><nonterminal>OutputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>hasInput</selector><bgf:expression><nonterminal>InputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>FlowObject</nonterminal><bgf:expression><nonterminal>Event</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>FlowObject</nonterminal><bgf:expression><nonterminal>Activity</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>FlowObject</nonterminal><bgf:expression><nonterminal>ConnectionOperator</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>FlowObject</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>target</selector><bgf:expression><nonterminal>AssociationConnector</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>origin</selector><bgf:expression><nonterminal>AssociationConnector</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Event</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>target</selector><bgf:expression><nonterminal>AssociationConnector</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>origin</selector><bgf:expression><nonterminal>AssociationConnector</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Process</nonterminal><bgf:expression><plus><bgf:expression><selectable><selector>child</selector><bgf:expression><nonterminal>Activity</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></bgf:production></bgf:grammar>