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"/>
|
---|
24 | </eClassifiers>
|
---|
25 | <eClassifiers xsi:type="ecore:EClass" name="DeltaEntry">
|
---|
26 | <eStructuralFeatures xsi:type="ecore:EReference" name="rule" eType="#//Rule" containment="true"/>
|
---|
27 | <eStructuralFeatures xsi:type="ecore:EReference" name="sectionheader" eType="#//SectionHeading"
|
---|
28 | containment="true"/>
|
---|
29 | <eStructuralFeatures xsi:type="ecore:EReference" name="extRule" eType="#//ExtRule"
|
---|
30 | containment="true"/>
|
---|
31 | </eClassifiers>
|
---|
32 | <eClassifiers xsi:type="ecore:EClass" name="MergeEntry">
|
---|
33 | <eStructuralFeatures xsi:type="ecore:EReference" name="sectionheader" eType="#//SectionHeading"
|
---|
34 | containment="true"/>
|
---|
35 | <eStructuralFeatures xsi:type="ecore:EReference" name="mergeRule" eType="#//MergeRule"
|
---|
36 | containment="true"/>
|
---|
37 | </eClassifiers>
|
---|
38 | <eClassifiers xsi:type="ecore:EClass" name="SectionHeading">
|
---|
39 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="sectionHeader" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
40 | </eClassifiers>
|
---|
41 | <eClassifiers xsi:type="ecore:EClass" name="Import">
|
---|
42 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
43 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="grammarType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
44 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
45 | </eClassifiers>
|
---|
46 | <eClassifiers xsi:type="ecore:EClass" name="Rule">
|
---|
47 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulenumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
---|
48 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulevariant" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
49 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
50 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitionList" eType="#//DefinitionList"
|
---|
51 | containment="true"/>
|
---|
52 | </eClassifiers>
|
---|
53 | <eClassifiers xsi:type="ecore:EClass" name="ExtRule">
|
---|
54 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulenumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
---|
55 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rulevariant" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
56 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
57 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ruleext" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
---|
58 | <eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1"
|
---|
59 | eType="#//Atom" containment="true"/>
|
---|
60 | </eClassifiers>
|
---|
61 | <eClassifiers xsi:type="ecore:EClass" name="MergeRule">
|
---|
62 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="logic" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
63 | </eClassifiers>
|
---|
64 | <eClassifiers xsi:type="ecore:EClass" name="GlobalCombinator" eSuperTypes="#//MergeRule"/>
|
---|
65 | <eClassifiers xsi:type="ecore:EClass" name="RuleCombinator" eSuperTypes="#//MergeRule">
|
---|
66 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="LABEL" unique="false" upperBound="-1"
|
---|
68 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
69 | </eClassifiers>
|
---|
70 | <eClassifiers xsi:type="ecore:EClass" name="HookCombinator" 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="ruleext" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
---|
73 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="LABEL" unique="false" upperBound="-1"
|
---|
74 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
75 | </eClassifiers>
|
---|
76 | <eClassifiers xsi:type="ecore:EClass" name="DefinitionList">
|
---|
77 | <eStructuralFeatures xsi:type="ecore:EReference" name="singleDefinition" upperBound="-1"
|
---|
78 | eType="#//SingleDefinition" containment="true"/>
|
---|
79 | </eClassifiers>
|
---|
80 | <eClassifiers xsi:type="ecore:EClass" name="SingleDefinition">
|
---|
81 | <eStructuralFeatures xsi:type="ecore:EReference" name="terms" upperBound="-1"
|
---|
82 | eType="#//Term" containment="true"/>
|
---|
83 | </eClassifiers>
|
---|
84 | <eClassifiers xsi:type="ecore:EClass" name="Term">
|
---|
85 | <eStructuralFeatures xsi:type="ecore:EReference" name="termAtom" eType="#//Atom"
|
---|
86 | containment="true"/>
|
---|
87 | <eStructuralFeatures xsi:type="ecore:EReference" name="termGroupedSequence" eType="#//GroupedSequence"
|
---|
88 | containment="true"/>
|
---|
89 | <eStructuralFeatures xsi:type="ecore:EReference" name="termOptionalSequence" eType="#//OptionalSequence"
|
---|
90 | containment="true"/>
|
---|
91 | <eStructuralFeatures xsi:type="ecore:EReference" name="termRepeatedSequence" eType="#//RepeatedSequence"
|
---|
92 | containment="true"/>
|
---|
93 | </eClassifiers>
|
---|
94 | <eClassifiers xsi:type="ecore:EClass" name="Atom">
|
---|
95 | <eStructuralFeatures xsi:type="ecore:EReference" name="atomStringRule" eType="#//StringRule"
|
---|
96 | containment="true"/>
|
---|
97 | <eStructuralFeatures xsi:type="ecore:EReference" name="atomRuleReference" eType="#//RuleReference"
|
---|
98 | containment="true"/>
|
---|
99 | </eClassifiers>
|
---|
100 | <eClassifiers xsi:type="ecore:EClass" name="RuleReference">
|
---|
101 | <eStructuralFeatures xsi:type="ecore:EReference" name="ruleref" eType="#//Rule"/>
|
---|
102 | </eClassifiers>
|
---|
103 | <eClassifiers xsi:type="ecore:EClass" name="StringRule">
|
---|
104 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="literal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
105 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="colon" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
---|
106 | </eClassifiers>
|
---|
107 | <eClassifiers xsi:type="ecore:EClass" name="GroupedSequence">
|
---|
108 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitionList" upperBound="-1"
|
---|
109 | eType="#//DefinitionList" containment="true"/>
|
---|
110 | </eClassifiers>
|
---|
111 | <eClassifiers xsi:type="ecore:EClass" name="OptionalSequence">
|
---|
112 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitionList" upperBound="-1"
|
---|
113 | eType="#//DefinitionList" containment="true"/>
|
---|
114 | </eClassifiers>
|
---|
115 | <eClassifiers xsi:type="ecore:EClass" name="RepeatedSequence">
|
---|
116 | <eStructuralFeatures xsi:type="ecore:EReference" name="definitions" upperBound="-1"
|
---|
117 | eType="#//DefinitionList" containment="true"/>
|
---|
118 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="morethanonce" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
---|
119 | </eClassifiers>
|
---|
120 | </ecore:EPackage>
|
---|