IL.genmodel 6.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <genmodel:GenModel xmi:version="2.0"
  3. xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
  4. xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipselabs.mscript.language/src"
  5. modelPluginID="org.eclipselabs.mscript.language" modelName="IL" importerID="org.eclipse.emf.importer.ecore"
  6. complianceLevel="5.0" copyrightFields="false" usedGenPackages="../../org.eclipselabs.mscript.typesystem/model/TypeSystem.genmodel#//typesystem">
  7. <foreignModel>IL.ecore</foreignModel>
  8. <genPackages prefix="IL" basePackage="org.eclipselabs.mscript.language" disposableProviderFactory="true"
  9. ecorePackage="IL.ecore#/">
  10. <genDataTypes ecoreDataType="IL.ecore#//IValue"/>
  11. <genClasses ecoreClass="IL.ecore#//ILFunctionDefinition">
  12. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute IL.ecore#//ILFunctionDefinition/stateful"/>
  13. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute IL.ecore#//ILFunctionDefinition/name"/>
  14. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ILFunctionDefinition/templateVariableDeclarations"/>
  15. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ILFunctionDefinition/inputVariableDeclarations"/>
  16. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ILFunctionDefinition/outputVariableDeclarations"/>
  17. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ILFunctionDefinition/instanceVariableDeclarations"/>
  18. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ILFunctionDefinition/initializationCompound"/>
  19. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ILFunctionDefinition/computationCompounds"/>
  20. </genClasses>
  21. <genClasses ecoreClass="IL.ecore#//Compound">
  22. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//Compound/statements"/>
  23. <genFeatures property="Readonly" notify="false" createChild="false" ecoreFeature="ecore:EReference IL.ecore#//Compound/localVariableDeclarations"/>
  24. </genClasses>
  25. <genClasses ecoreClass="IL.ecore#//ComputationCompound">
  26. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference IL.ecore#//ComputationCompound/inputs"/>
  27. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference IL.ecore#//ComputationCompound/outputs"/>
  28. </genClasses>
  29. <genClasses ecoreClass="IL.ecore#//VariableDeclaration">
  30. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute IL.ecore#//VariableDeclaration/name"/>
  31. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference IL.ecore#//VariableDeclaration/dataType"/>
  32. </genClasses>
  33. <genClasses image="false" ecoreClass="IL.ecore#//StatefulVariableDeclaration">
  34. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute IL.ecore#//StatefulVariableDeclaration/circularBufferSize"/>
  35. </genClasses>
  36. <genClasses ecoreClass="IL.ecore#//TemplateVariableDeclaration">
  37. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute IL.ecore#//TemplateVariableDeclaration/value"/>
  38. </genClasses>
  39. <genClasses ecoreClass="IL.ecore#//InputVariableDeclaration">
  40. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference IL.ecore#//InputVariableDeclaration/feedingCompounds"/>
  41. <genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute IL.ecore#//InputVariableDeclaration/directFeedthrough"/>
  42. </genClasses>
  43. <genClasses ecoreClass="IL.ecore#//OutputVariableDeclaration"/>
  44. <genClasses ecoreClass="IL.ecore#//InstanceVariableDeclaration"/>
  45. <genClasses ecoreClass="IL.ecore#//LocalVariableDeclaration">
  46. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//LocalVariableDeclaration/initializer"/>
  47. </genClasses>
  48. <genClasses image="false" ecoreClass="IL.ecore#//Statement"/>
  49. <genClasses ecoreClass="IL.ecore#//CompoundStatement"/>
  50. <genClasses image="false" ecoreClass="IL.ecore#//VariableAccess">
  51. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference IL.ecore#//VariableAccess/target"/>
  52. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute IL.ecore#//VariableAccess/stepIndex"/>
  53. </genClasses>
  54. <genClasses ecoreClass="IL.ecore#//Assignment">
  55. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//Assignment/assignedExpression"/>
  56. </genClasses>
  57. <genClasses ecoreClass="IL.ecore#//IfStatement">
  58. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//IfStatement/condition"/>
  59. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//IfStatement/thenStatement"/>
  60. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//IfStatement/elseStatement"/>
  61. </genClasses>
  62. <genClasses ecoreClass="IL.ecore#//ForeachStatement">
  63. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ForeachStatement/iterationVariableDeclaration"/>
  64. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ForeachStatement/collectionExpression"/>
  65. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//ForeachStatement/body"/>
  66. </genClasses>
  67. <genClasses ecoreClass="IL.ecore#//VariableReference">
  68. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IL.ecore#//VariableReference/arrayIndices"/>
  69. </genClasses>
  70. <genClasses ecoreClass="IL.ecore#//InvalidExpression"/>
  71. </genPackages>
  72. </genmodel:GenModel>