[88] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
| 3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="ebnf" nsURI="http://www.ugoe.de/cs/swe/bnftools/Ebnf" nsPrefix="ebnf"> |
---|
| 4 | <eClassifiers xsi:type="ecore:EClass" name="EtsiBnf"> |
---|
| 5 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 6 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 7 | <eStructuralFeatures xsi:type="ecore:EReference" name="importSection" eType="#//ImportSection" |
---|
| 8 | containment="true"/> |
---|
| 9 | <eStructuralFeatures xsi:type="ecore:EReference" name="bnfEntry" upperBound="-1" |
---|
| 10 | eType="#//BnfEntry" containment="true"/> |
---|
| 11 | <eStructuralFeatures xsi:type="ecore:EReference" name="deltaEntry" upperBound="-1" |
---|
| 12 | eType="#//DeltaEntry" containment="true"/> |
---|
| 13 | <eStructuralFeatures xsi:type="ecore:EReference" name="mergeEntry" upperBound="-1" |
---|
| 14 | eType="#//MergeEntry" containment="true"/> |
---|
| 15 | </eClassifiers> |
---|
| 16 | <eClassifiers xsi:type="ecore:EClass" name="ImportSection"> |
---|
| 17 | <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1" |
---|
| 18 | eType="#//Import" containment="true"/> |
---|
| 19 | </eClassifiers> |
---|
| 20 | <eClassifiers xsi:type="ecore:EClass" name="BnfEntry"> |
---|
| 21 | <eStructuralFeatures xsi:type="ecore:EReference" name="sectionheader" eType="#//SectionHeading" |
---|
| 22 | containment="true"/> |
---|
| 23 | <eStructuralFeatures xsi:type="ecore:EReference" name="rule" eType="#//Rule" containment="true"/> |
---|
[100] | 24 | <eStructuralFeatures xsi:type="ecore:EReference" name="comment" eType="#//Comment" |
---|
| 25 | containment="true"/> |
---|
[88] | 26 | </eClassifiers> |
---|
| 27 | <eClassifiers xsi:type="ecore:EClass" name="DeltaEntry"> |
---|
| 28 | <eStructuralFeatures xsi:type="ecore:EReference" name="rule" eType="#//Rule" containment="true"/> |
---|
| 29 | <eStructuralFeatures xsi:type="ecore:EReference" name="sectionheader" eType="#//SectionHeading" |
---|
| 30 | containment="true"/> |
---|
| 31 | <eStructuralFeatures xsi:type="ecore:EReference" name="extRule" eType="#//ExtRule" |
---|
| 32 | containment="true"/> |
---|
| 33 | </eClassifiers> |
---|
| 34 | <eClassifiers xsi:type="ecore:EClass" name="MergeEntry"> |
---|
| 35 | <eStructuralFeatures xsi:type="ecore:EReference" name="sectionheader" eType="#//SectionHeading" |
---|
| 36 | containment="true"/> |
---|
| 37 | <eStructuralFeatures xsi:type="ecore:EReference" name="mergeRule" eType="#//MergeRule" |
---|
| 38 | containment="true"/> |
---|
| 39 | </eClassifiers> |
---|
| 40 | <eClassifiers xsi:type="ecore:EClass" name="SectionHeading"> |
---|
| 41 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="sectionHeader" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 42 | </eClassifiers> |
---|
[100] | 43 | <eClassifiers xsi:type="ecore:EClass" name="Comment"> |
---|
| 44 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="content" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 45 | </eClassifiers> |
---|
[88] | 46 | <eClassifiers xsi:type="ecore:EClass" name="Import"> |
---|
| 47 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 48 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="grammarType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 49 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 50 | </eClassifiers> |
---|
| 51 | <eClassifiers xsi:type="ecore:EClass" name="Rule"> |
---|
| 52 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulenumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
---|
| 53 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulevariant" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 54 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 55 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitionList" eType="#//DefinitionList" |
---|
| 56 | containment="true"/> |
---|
| 57 | </eClassifiers> |
---|
| 58 | <eClassifiers xsi:type="ecore:EClass" name="ExtRule"> |
---|
| 59 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulenumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
---|
| 60 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulevariant" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 61 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 62 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ruleext" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
---|
| 63 | <eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1" |
---|
| 64 | eType="#//Atom" containment="true"/> |
---|
| 65 | </eClassifiers> |
---|
| 66 | <eClassifiers xsi:type="ecore:EClass" name="MergeRule"> |
---|
| 67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="logic" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 68 | </eClassifiers> |
---|
| 69 | <eClassifiers xsi:type="ecore:EClass" name="GlobalCombinator" eSuperTypes="#//MergeRule"/> |
---|
| 70 | <eClassifiers xsi:type="ecore:EClass" name="RuleCombinator" eSuperTypes="#//MergeRule"> |
---|
| 71 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 72 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="LABEL" unique="false" upperBound="-1" |
---|
| 73 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 74 | </eClassifiers> |
---|
| 75 | <eClassifiers xsi:type="ecore:EClass" name="HookCombinator" eSuperTypes="#//MergeRule"> |
---|
| 76 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 77 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ruleext" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
---|
| 78 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="LABEL" unique="false" upperBound="-1" |
---|
| 79 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 80 | </eClassifiers> |
---|
| 81 | <eClassifiers xsi:type="ecore:EClass" name="DefinitionList"> |
---|
| 82 | <eStructuralFeatures xsi:type="ecore:EReference" name="singleDefinition" upperBound="-1" |
---|
| 83 | eType="#//SingleDefinition" containment="true"/> |
---|
| 84 | </eClassifiers> |
---|
| 85 | <eClassifiers xsi:type="ecore:EClass" name="SingleDefinition"> |
---|
| 86 | <eStructuralFeatures xsi:type="ecore:EReference" name="terms" upperBound="-1" |
---|
| 87 | eType="#//Term" containment="true"/> |
---|
| 88 | </eClassifiers> |
---|
| 89 | <eClassifiers xsi:type="ecore:EClass" name="Term"> |
---|
| 90 | <eStructuralFeatures xsi:type="ecore:EReference" name="termAtom" eType="#//Atom" |
---|
| 91 | containment="true"/> |
---|
| 92 | <eStructuralFeatures xsi:type="ecore:EReference" name="termGroupedSequence" eType="#//GroupedSequence" |
---|
| 93 | containment="true"/> |
---|
| 94 | <eStructuralFeatures xsi:type="ecore:EReference" name="termOptionalSequence" eType="#//OptionalSequence" |
---|
| 95 | containment="true"/> |
---|
| 96 | <eStructuralFeatures xsi:type="ecore:EReference" name="termRepeatedSequence" eType="#//RepeatedSequence" |
---|
| 97 | containment="true"/> |
---|
| 98 | </eClassifiers> |
---|
| 99 | <eClassifiers xsi:type="ecore:EClass" name="Atom"> |
---|
| 100 | <eStructuralFeatures xsi:type="ecore:EReference" name="atomStringRule" eType="#//StringRule" |
---|
| 101 | containment="true"/> |
---|
| 102 | <eStructuralFeatures xsi:type="ecore:EReference" name="atomRuleReference" eType="#//RuleReference" |
---|
| 103 | containment="true"/> |
---|
| 104 | </eClassifiers> |
---|
| 105 | <eClassifiers xsi:type="ecore:EClass" name="RuleReference"> |
---|
| 106 | <eStructuralFeatures xsi:type="ecore:EReference" name="ruleref" eType="#//Rule"/> |
---|
| 107 | </eClassifiers> |
---|
| 108 | <eClassifiers xsi:type="ecore:EClass" name="StringRule"> |
---|
| 109 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="literal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 110 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="colon" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
| 111 | </eClassifiers> |
---|
| 112 | <eClassifiers xsi:type="ecore:EClass" name="GroupedSequence"> |
---|
| 113 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitionList" upperBound="-1" |
---|
| 114 | eType="#//DefinitionList" containment="true"/> |
---|
| 115 | </eClassifiers> |
---|
| 116 | <eClassifiers xsi:type="ecore:EClass" name="OptionalSequence"> |
---|
| 117 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitionList" upperBound="-1" |
---|
| 118 | eType="#//DefinitionList" containment="true"/> |
---|
| 119 | </eClassifiers> |
---|
| 120 | <eClassifiers xsi:type="ecore:EClass" name="RepeatedSequence"> |
---|
| 121 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitions" upperBound="-1" |
---|
| 122 | eType="#//DefinitionList" containment="true"/> |
---|
| 123 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="morethanonce" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
[95] | 124 | <eStructuralFeatures xsi:type="ecore:EReference" name="range" eType="#//RepeatRange" |
---|
| 125 | containment="true"/> |
---|
[88] | 126 | </eClassifiers> |
---|
[95] | 127 | <eClassifiers xsi:type="ecore:EClass" name="RepeatRange"> |
---|
| 128 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="from" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
---|
| 129 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="to" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
---|
| 130 | </eClassifiers> |
---|
[88] | 131 | </ecore:EPackage> |
---|