simpleALEnv
Block
stmts
Stmt
Arith
ALVarRef
name
ArithLit
val
ArithOp
lhs
rhs
ArithPlus
ArithMinus
Print
name
Assign
name
val
IfStmt
ifBranch
elseBranch
test
RandRange
min
max
EqualityTest
lhs
rhs
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" 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" name="simpleALEnv" nsURI="http://www.example.org/simpleALEnv" nsPrefix="simpleALEnv">
  <eClassifiers xsi:type="ecore:EClass" name="Block">
    <eStructuralFeatures xsi:type="ecore:EReference" name="stmts" upperBound="-1"
        eType="#//Stmt" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Stmt" abstract="true"/>
  <eClassifiers xsi:type="ecore:EClass" name="Arith" abstract="true"/>
  <eClassifiers xsi:type="ecore:EClass" name="ALVarRef" eSuperTypes="#//Arith">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ArithLit" eSuperTypes="#//Arith">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="val" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ArithOp" abstract="true" eSuperTypes="#//Arith">
    <eStructuralFeatures xsi:type="ecore:EReference" name="lhs" eType="#//Arith" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rhs" eType="#//Arith" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ArithPlus" eSuperTypes="#//ArithOp"/>
  <eClassifiers xsi:type="ecore:EClass" name="ArithMinus" eSuperTypes="#//ArithOp"/>
  <eClassifiers xsi:type="ecore:EClass" name="Print" eSuperTypes="#//Stmt">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Assign" eSuperTypes="#//Stmt">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="val" lowerBound="1" eType="#//Arith"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="IfStmt" eSuperTypes="#//Stmt">
    <eStructuralFeatures xsi:type="ecore:EReference" name="ifBranch" lowerBound="1"
        eType="#//Assign" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="elseBranch" eType="#//Assign"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="test" lowerBound="1" eType="#//EqualityTest"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="RandRange" eSuperTypes="#//Arith">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="min" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="max" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="EqualityTest">
    <eStructuralFeatures xsi:type="ecore:EReference" name="lhs" lowerBound="1" eType="#//Arith"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rhs" lowerBound="1" eType="#//Arith"
        containment="true"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"simpleALEnv","nsURI":"http://www.example.org/simpleALEnv","name":"simpleALEnv","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Block","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Stmt","instanceClass":null,"abstract":true,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Arith","instanceClass":null,"abstract":true,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ALVarRef","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ArithLit","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ArithOp","instanceClass":null,"abstract":true,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ArithPlus","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ArithMinus","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Print","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Assign","instanceClass":null,"abstract":false,"id":10,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"IfStmt","instanceClass":null,"abstract":false,"id":11,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RandRange","instanceClass":null,"abstract":false,"id":12,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"EqualityTest","instanceClass":null,"abstract":false,"id":13,"interface":false,"eClass":"EClass"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"stmts","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"val","changeable":true,"lowerBound":0,"iD":false,"id":19,"derived":false},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"lhs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":22,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"rhs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":23,"derived":false},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":29,"derived":false},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":32,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"val","changeable":true,"resolveProxies":true,"lowerBound":1,"id":33,"derived":false},{"id":34,"eClass":"EGenericType"},{"id":35,"eClass":"EGenericType"},{"id":36,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"ifBranch","changeable":true,"resolveProxies":true,"lowerBound":1,"id":37,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"elseBranch","changeable":true,"resolveProxies":true,"lowerBound":0,"id":38,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"test","changeable":true,"resolveProxies":true,"lowerBound":1,"id":39,"derived":false},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"min","changeable":true,"lowerBound":0,"iD":false,"id":44,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"max","changeable":true,"lowerBound":0,"iD":false,"id":45,"derived":false},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"id":48,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"lhs","changeable":true,"resolveProxies":true,"lowerBound":1,"id":49,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"rhs","changeable":true,"resolveProxies":true,"lowerBound":1,"id":50,"derived":false},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":0,"target":6},{"source":0,"target":7},{"source":0,"target":8},{"source":0,"target":9},{"source":0,"target":10},{"source":0,"target":11},{"source":0,"target":12},{"source":0,"target":13},{"source":1,"target":0},{"source":1,"target":14},{"source":14,"target":2},{"source":14,"target":15},{"source":14,"target":1},{"source":15,"target":2},{"source":2,"target":0},{"source":3,"target":0},{"source":4,"target":0},{"source":4,"target":3},{"source":4,"target":16},{"source":4,"target":17},{"source":16,"target":18},{"source":16,"target":4},{"source":17,"target":3},{"source":5,"target":0},{"source":5,"target":3},{"source":5,"target":19},{"source":5,"target":20},{"source":19,"target":21},{"source":19,"target":5},{"source":20,"target":3},{"source":6,"target":0},{"source":6,"target":3},{"source":6,"target":22},{"source":6,"target":23},{"source":6,"target":24},{"source":22,"target":3},{"source":22,"target":25},{"source":22,"target":6},{"source":25,"target":3},{"source":23,"target":3},{"source":23,"target":26},{"source":23,"target":6},{"source":26,"target":3},{"source":24,"target":3},{"source":7,"target":0},{"source":7,"target":6},{"source":7,"target":27},{"source":27,"target":6},{"source":8,"target":0},{"source":8,"target":6},{"source":8,"target":28},{"source":28,"target":6},{"source":9,"target":0},{"source":9,"target":2},{"source":9,"target":29},{"source":9,"target":30},{"source":29,"target":31},{"source":29,"target":9},{"source":30,"target":2},{"source":10,"target":0},{"source":10,"target":2},{"source":10,"target":32},{"source":10,"target":33},{"source":10,"target":34},{"source":32,"target":35},{"source":32,"target":10},{"source":33,"target":3},{"source":33,"target":36},{"source":33,"target":10},{"source":36,"target":3},{"source":34,"target":2},{"source":11,"target":0},{"source":11,"target":2},{"source":11,"target":37},{"source":11,"target":38},{"source":11,"target":39},{"source":11,"target":40},{"source":37,"target":10},{"source":37,"target":41},{"source":37,"target":11},{"source":41,"target":10},{"source":38,"target":10},{"source":38,"target":42},{"source":38,"target":11},{"source":42,"target":10},{"source":39,"target":13},{"source":39,"target":43},{"source":39,"target":11},{"source":43,"target":13},{"source":40,"target":2},{"source":12,"target":0},{"source":12,"target":3},{"source":12,"target":44},{"source":12,"target":45},{"source":12,"target":46},{"source":44,"target":47},{"source":44,"target":12},{"source":45,"target":48},{"source":45,"target":12},{"source":46,"target":3},{"source":13,"target":0},{"source":13,"target":49},{"source":13,"target":50},{"source":49,"target":3},{"source":49,"target":51},{"source":49,"target":13},{"source":51,"target":3},{"source":50,"target":3},{"source":50,"target":52},{"source":50,"target":13},{"source":52,"target":3}],"multigraph":true}