root/org.axdt.axdoc.model/model/AXDoc.ecore @ 87f02d16be3ad1849f47a8a1e5c588a5924d4677

Revision 87f02d16be3ad1849f47a8a1e5c588a5924d4677, 7.1 KB (checked in by mb0 <mb0@…>, 15 months ago)

parser controller: addded content hash to skip parsing same input.
content proposer: recalculated basic info. simple package name proposal.
as3 grammar: added comment to explain difference with the specifications.

  • type expression as return type conflicts with void statement

template proposal can reuse prefix.
moved axdoc parser and tagsoup dependency to org.axdt.axdoc
added debugging option.
axdt now starts to utilize axdoc

  • Property mode set to 100644
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ecore:EPackage xmi:version="2.0"
3    xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="axdoc"
5    nsURI="http://axdt.org/axdoc" nsPrefix="axdoc">
6  <eClassifiers xsi:type="ecore:EClass" name="AXNode" abstract="true">
7    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
8        iD="true"/>
9    <eStructuralFeatures xsi:type="ecore:EAttribute" name="asdoc" ordered="false"
10        unique="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
11  </eClassifiers>
12  <eClassifiers xsi:type="ecore:EClass" name="AXMemberHolder" abstract="true" interface="true"
13      eSuperTypes="#//AXNode">
14    <eStructuralFeatures xsi:type="ecore:EReference" name="members" upperBound="-1"
15        eType="#//AXMember" containment="true" resolveProxies="false" eKeys="#//AXNode/name #//AXMember/function"/>
16  </eClassifiers>
17  <eClassifiers xsi:type="ecore:EClass" name="AXPackage" eSuperTypes="#//AXMemberHolder">
18    <eStructuralFeatures xsi:type="ecore:EReference" name="types" upperBound="-1"
19        eType="#//AXType" containment="true" eKeys="#//AXNode/name"/>
20  </eClassifiers>
21  <eClassifiers xsi:type="ecore:EClass" name="AXType" eSuperTypes="#//AXMemberHolder">
22    <eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
23  </eClassifiers>
24  <eClassifiers xsi:type="ecore:EClass" name="AXMember" eSuperTypes="#//AXNode">
25    <eStructuralFeatures xsi:type="ecore:EAttribute" name="var" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
26        defaultValueLiteral="true"/>
27    <eStructuralFeatures xsi:type="ecore:EAttribute" name="function" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
28    <eStructuralFeatures xsi:type="ecore:EAttribute" name="const" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
29    <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
30    <eStructuralFeatures xsi:type="ecore:EAttribute" name="protected" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
31  </eClassifiers>
32  <eClassifiers xsi:type="ecore:EEnum" name="AXLevel">
33    <eLiterals name="EMPTY"/>
34    <eLiterals name="PACKAGE" value="1"/>
35    <eLiterals name="TYPE" value="2"/>
36    <eLiterals name="MEMBER" value="4"/>
37  </eClassifiers>
38  <eClassifiers xsi:type="ecore:EClass" name="AXIndex" eSuperTypes="#//AXIndexNode">
39    <eOperations name="localIndex" eType="#//AXIndex">
40      <eParameters name="part" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
41    </eOperations>
42    <eOperations name="createIndex" eType="#//AXIndex">
43      <eParameters name="part" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
44    </eOperations>
45    <eOperations name="getOrCreatePackage" eType="#//AXPackage"/>
46    <eStructuralFeatures xsi:type="ecore:EReference" name="reference" eType="#//AXPackage"/>
47    <eStructuralFeatures xsi:type="ecore:EAttribute" name="level" eType="#//AXLevel"
48        transient="true"/>
49    <eStructuralFeatures xsi:type="ecore:EReference" name="indexes" upperBound="-1"
50        eType="#//AXIndex" containment="true" resolveProxies="false" eOpposite="#//AXIndex/parent"
51        eKeys="#//AXIndexNode/id"/>
52    <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//AXIndex"
53        transient="true" eOpposite="#//AXIndex/indexes"/>
54  </eClassifiers>
55  <eClassifiers xsi:type="ecore:EClass" name="AXRoot" eSuperTypes="#//AXIndex">
56    <eOperations name="createPackageIndex" eType="#//AXIndex">
57      <eParameters name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
58    </eOperations>
59    <eOperations name="getPackageIndex" eType="#//AXIndex">
60      <eParameters name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
61    </eOperations>
62    <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
63    <eStructuralFeatures xsi:type="ecore:EAttribute" name="rootType" eType="#//AXRootType"/>
64    <eStructuralFeatures xsi:type="ecore:EAttribute" name="rootLevel" eType="#//AXLevel"
65        transient="true"/>
66  </eClassifiers>
67  <eClassifiers xsi:type="ecore:EEnum" name="AXRootType">
68    <eLiterals name="NONE"/>
69    <eLiterals name="ASDOC" value="1"/>
70    <eLiterals name="SOURCE" value="2"/>
71  </eClassifiers>
72  <eClassifiers xsi:type="ecore:EClass" name="AXEntry" eSuperTypes="#//AXIndexNode">
73    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//AXEntryType"/>
74    <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//AXIndexNode"
75        transient="true" eOpposite="#//AXIndexNode/entries"/>
76  </eClassifiers>
77  <eClassifiers xsi:type="ecore:EClass" name="AXIndexNode" abstract="true">
78    <eOperations name="getRoot" eType="#//AXRoot"/>
79    <eOperations name="fullUrl" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
80    <eOperations name="localEntry" upperBound="-1" eType="#//AXEntry">
81      <eParameters name="part" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
82    </eOperations>
83    <eOperations name="localEntry" eType="#//AXEntry">
84      <eParameters name="part" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
85      <eParameters name="member" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
86    </eOperations>
87    <eOperations name="createEntry" eType="#//AXEntry">
88      <eParameters name="part" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
89      <eParameters name="type" eType="#//AXEntryType"/>
90    </eOperations>
91    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
92    <eStructuralFeatures xsi:type="ecore:EReference" name="entries" upperBound="-1"
93        eType="#//AXEntry" containment="true" resolveProxies="false" eOpposite="#//AXEntry/parent"
94        eKeys="#//AXIndexNode/id"/>
95    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
96        changeable="false" transient="true" derived="true" iD="true"/>
97    <eStructuralFeatures xsi:type="ecore:EReference" name="basicParent" eType="#//AXIndexNode"
98        changeable="false" volatile="true" transient="true"/>
99  </eClassifiers>
100  <eClassifiers xsi:type="ecore:EEnum" name="AXEntryType">
101    <eLiterals name="NONE" literal="n"/>
102    <eLiterals name="CLASS" value="1" literal="c"/>
103    <eLiterals name="INTERFACE" value="2" literal="i"/>
104    <eLiterals name="CONSTRUCTOR" value="3" literal="cm"/>
105    <eLiterals name="METHOD" value="4" literal="m"/>
106    <eLiterals name="PROPERTY" value="5" literal="p"/>
107    <eLiterals name="EVENT" value="6" literal="e"/>
108  </eClassifiers>
109</ecore:EPackage>
Note: See TracBrowser for help on using the browser.