Skip to main content
summaryrefslogblamecommitdiffstats
blob: 44a8b4c9b522071ac075c9acbeb6bea899a8f9d1 (plain) (tree)
1
2
3
4
5



                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                    





















                                                                                                                                                                                                      
                                                                                                                                             



















                                                                                                                                                                                                                                 
                                                                                                                                             



















                                                                                                                                                                                                             
                                                                                                                                             

















                                                                                                                                                                                                         
                                                                                                                                                  

































                                                                                                                                                                                                                             
                                                                                                                                            














                                                                                                                                                                   
                                                                                                                                                                                                                             















































                                                                                                                                                                                                                                
                                                                                                                                              










































                                                                                                                                                                                                                                
                                                                                                                                            














                                                                                                                                                                   
                                                                                                                                                                                                                             















































                                                                                                                                                                                                                           
                                                                                                                                              
























                                                                                                                                                                                                                        
                                                                                                                                           



































































































































































































                                                                                                                                                                                                                       
<?xml version="1.0" encoding="UTF-8"?>
<qvti:ImperativeModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pivot="http://www.eclipse.org/ocl/2015/Pivot"
    xmlns:qvtb="http://www.eclipse.org/qvt/2015/QVTbase" xmlns:qvtcb="http://www.eclipse.org/qvt/2015/QVTcoreBase" xmlns:qvti="http://www.eclipse.org/qvt/2015/QVTimperative"
    xsi:schemaLocation="http://www.eclipse.org/ocl/2015/Pivot java://org.eclipse.ocl.pivot.PivotPackage http://www.eclipse.org/qvt/2015/QVTbase java://org.eclipse.qvtd.pivot.qvtbase.QVTbasePackage http://www.eclipse.org/qvt/2015/QVTcoreBase java://org.eclipse.qvtd.pivot.qvtcorebase.QVTcoreBasePackage http://www.eclipse.org/qvt/2015/QVTimperative java://org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage"
    name="SimplerKiama.qvtias" externalURI="platform:/resource/org.eclipse.qvtd.cs2as.compiler.tests/src/org/eclipse/qvtd/cs2as/compiler/tests/models/example4/SimplerKiama.qvtias">
  <ownedImports importedNamespace="pivot:Model SimplerKiamaCS.ecore.oclas#/"/>
  <ownedImports importedNamespace="pivot:Model SimplerKiamaAS.ecore.oclas#/"/>
  <ownedPackages xmi:id="P." name="">
    <ownedClasses xsi:type="qvtb:Transformation" xmi:id="T..SimplerKiama_qvtp_qvtias" name="SimplerKiama_qvtp_qvtias">
      <modelParameter xmi:id="qT..SimplerKiama_qvtp_qvtias.leftCS" name="leftCS" usedPackage="SimplerKiamaCS.ecore.oclas#P.kiamacs"/>
      <modelParameter xmi:id="qT..SimplerKiama_qvtp_qvtias.rightAS" name="rightAS" usedPackage="SimplerKiamaAS.ecore.oclas#P.kiamaas"/>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.cCompositeCS_2_Composite" name="cCompositeCS_2_Composite">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.cCompositeCS_2_Composite.leftCS.guard.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern>
            <realizedVariable xmi:id="qV..SimplerKiama_qvtp_qvtias.cCompositeCS_2_Composite.rightAS.bottom.composite" name="composite"
                type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite"/>
          </bottomPattern>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
            <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite" referredVariable="#qV..SimplerKiama_qvtp_qvtias.cCompositeCS_2_Composite.rightAS.bottom.composite"/>
            <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.cCompositeCS_2_Composite.leftCS.guard.compositeCS"/>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.cLeafCS_2_Leaf" name="cLeafCS_2_Leaf">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.cLeafCS_2_Leaf.leftCS.guard.leafCS" name="leafCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern>
            <realizedVariable xmi:id="qV..SimplerKiama_qvtp_qvtias.cLeafCS_2_Leaf.rightAS.bottom.leaf" name="leaf" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf"/>
          </bottomPattern>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
            <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf" referredVariable="#qV..SimplerKiama_qvtp_qvtias.cLeafCS_2_Leaf.rightAS.bottom.leaf"/>
            <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.cLeafCS_2_Leaf.leftCS.guard.leafCS"/>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.cTopCS_2_Top" name="cTopCS_2_Top">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.cTopCS_2_Top.leftCS.guard.topCS" name="topCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern>
            <realizedVariable xmi:id="qV..SimplerKiama_qvtp_qvtias.cTopCS_2_Top.rightAS.bottom.top" name="top" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Top"/>
          </bottomPattern>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
            <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Top" referredVariable="#qV..SimplerKiama_qvtp_qvtias.cTopCS_2_Top.rightAS.bottom.top"/>
            <slotExpression xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.cTopCS_2_Top.leftCS.guard.topCS"/>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.uComposite_child" name="uComposite_child">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.uComposite_child.leftCS.guard.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern/>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Composite.child">
            <value xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.NodeCS"
                    referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.CompositeCS.child">
                  <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" isImplicit="true"
                      referredVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_child.leftCS.guard.compositeCS"/>
                </ownedSource>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node"/>
            </value>
            <slotExpression xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_child.leftCS.guard.compositeCS"/>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite"/>
            </slotExpression>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.uComposite_deep" name="uComposite_deep">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.uComposite_deep.leftCS.guard.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern/>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Node.deep">
            <value xsi:type="pivot:LetExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer">
              <ownedIn xsi:type="pivot:IfExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer">
                <ownedCondition xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
                    referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclIsKindOf..ocl.OclType">
                  <ownedSource xsi:type="pivot:VariableExp" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement"
                      referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.4/@bottomPattern/@assignment.0/@value/@ownedVariable"/>
                  <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
                      referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node"/>
                </ownedCondition>
                <ownedElse xsi:type="pivot:IntegerLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                    integerSymbol="0"/>
                <ownedThen xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                    referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Integer.%43%..ocl.OclSelf">
                  <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                      referredProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Node.deep">
                    <ownedSource xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
                      <ownedSource xsi:type="pivot:VariableExp" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement"
                          referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.4/@bottomPattern/@assignment.0/@value/@ownedVariable"/>
                      <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
                          referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node"/>
                    </ownedSource>
                  </ownedSource>
                  <ownedArguments xsi:type="pivot:IntegerLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                      integerSymbol="1"/>
                </ownedThen>
              </ownedIn>
              <ownedVariable name="container" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement">
                <ownedInit xsi:type="pivot:OperationCallExp" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement"
                    referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.oclContainer">
                  <ownedSource xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
                    <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                        referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                      <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" isImplicit="true"
                          referredVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_deep.leftCS.guard.compositeCS"/>
                    </ownedSource>
                    <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
                        referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite"/>
                  </ownedSource>
                </ownedInit>
              </ownedVariable>
            </value>
            <slotExpression xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_deep.leftCS.guard.compositeCS"/>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite"/>
            </slotExpression>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.uComposite_height" name="uComposite_height">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.uComposite_height.leftCS.guard.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern/>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Node.height">
            <value xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Integer.%43%..ocl.OclSelf">
              <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                  referredProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Node.height">
                <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node"
                    referredProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Composite.child">
                  <ownedSource xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
                    <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                        referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                      <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" isImplicit="true"
                          referredVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_height.leftCS.guard.compositeCS"/>
                    </ownedSource>
                    <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
                        referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite"/>
                  </ownedSource>
                </ownedSource>
              </ownedSource>
              <ownedArguments xsi:type="pivot:IntegerLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                  integerSymbol="1"/>
            </value>
            <slotExpression xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_height.leftCS.guard.compositeCS"/>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Composite"/>
            </slotExpression>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.uLeaf_deep" name="uLeaf_deep">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.uLeaf_deep.leftCS.guard.leafCS" name="leafCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern/>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Node.deep">
            <value xsi:type="pivot:LetExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer">
              <ownedIn xsi:type="pivot:IfExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer">
                <ownedCondition xsi:type="pivot:OperationCallExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Boolean"
                    referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclIsKindOf..ocl.OclType">
                  <ownedSource xsi:type="pivot:VariableExp" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement"
                      referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.6/@bottomPattern/@assignment.0/@value/@ownedVariable"/>
                  <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
                      referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node"/>
                </ownedCondition>
                <ownedElse xsi:type="pivot:IntegerLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                    integerSymbol="0"/>
                <ownedThen xsi:type="pivot:OperationCallExp" name="+" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                    referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.Integer.%43%..ocl.OclSelf">
                  <ownedSource xsi:type="pivot:PropertyCallExp" isRequired="false" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                      referredProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Node.deep">
                    <ownedSource xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
                      <ownedSource xsi:type="pivot:VariableExp" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement"
                          referredVariable="#//@ownedPackages.0/@ownedClasses.0/@rule.6/@bottomPattern/@assignment.0/@value/@ownedVariable"/>
                      <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
                          referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node"/>
                    </ownedSource>
                  </ownedSource>
                  <ownedArguments xsi:type="pivot:IntegerLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                      integerSymbol="1"/>
                </ownedThen>
              </ownedIn>
              <ownedVariable name="container" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement">
                <ownedInit xsi:type="pivot:OperationCallExp" isRequired="false" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclElement"
                    referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.oclContainer">
                  <ownedSource xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
                    <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                        referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                      <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" isImplicit="true"
                          referredVariable="#qV..SimplerKiama_qvtp_qvtias.uLeaf_deep.leftCS.guard.leafCS"/>
                    </ownedSource>
                    <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class"
                        referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf"/>
                  </ownedSource>
                </ownedInit>
              </ownedVariable>
            </value>
            <slotExpression xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.uLeaf_deep.leftCS.guard.leafCS"/>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf"/>
            </slotExpression>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.uLeaf_height" name="uLeaf_height">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.uLeaf_height.leftCS.guard.leafCS" name="leafCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern/>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Node.height">
            <value xsi:type="pivot:IntegerLiteralExp" type="pivot:PrimitiveType http://www.eclipse.org/ocl/2015/Library.oclas#Integer"
                integerSymbol="0"/>
            <slotExpression xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.uLeaf_height.leftCS.guard.leafCS"/>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Leaf"/>
            </slotExpression>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.uTop_node" name="uTop_node">
        <domain xsi:type="qvtcb:CoreDomain" name="leftCS" isCheckable="true" isEnforceable="false" typedModel="#qT..SimplerKiama_qvtp_qvtias.leftCS">
          <guardPattern>
            <variable xmi:id="qV..SimplerKiama_qvtp_qvtias.uTop_node.leftCS.guard.topCS" name="topCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS"/>
          </guardPattern>
          <bottomPattern/>
        </domain>
        <domain xsi:type="qvtcb:CoreDomain" name="rightAS" isCheckable="false" isEnforceable="true" typedModel="#qT..SimplerKiama_qvtp_qvtias.rightAS">
          <guardPattern/>
          <bottomPattern/>
        </domain>
        <guardPattern/>
        <bottomPattern>
          <assignment xsi:type="qvtcb:PropertyAssignment" isDefault="false" targetProperty="SimplerKiamaAS.ecore.oclas#p.kiamaas.Top.node">
            <value xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.NodeCS" referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.TopCS.node">
                  <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" isImplicit="true"
                      referredVariable="#qV..SimplerKiama_qvtp_qvtias.uTop_node.leftCS.guard.topCS"/>
                </ownedSource>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Node"/>
            </value>
            <slotExpression xsi:type="pivot:OperationCallExp" type="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Top" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclAny.oclAsType..TT">
              <ownedSource xsi:type="pivot:PropertyCallExp" type="pivot:Class http://www.eclipse.org/emf/2002/Ecore.oclas#T.ecore.EObject"
                  referredProperty="SimplerKiamaCS.ecore.oclas#p.kiamacs.BaseCS.ast">
                <ownedSource xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" referredVariable="#qV..SimplerKiama_qvtp_qvtias.uTop_node.leftCS.guard.topCS"/>
              </ownedSource>
              <ownedArguments xsi:type="pivot:TypeExp" type="pivot:Class http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.Class" referredType="pivot:Class SimplerKiamaAS.ecore.oclas#T.kiamaas.Top"/>
            </slotExpression>
          </assignment>
        </bottomPattern>
      </rule>
      <rule xsi:type="qvti:Mapping" xmi:id="m..SimplerKiama_qvtp_qvtias.__root__" name="__root__">
        <guardPattern/>
        <bottomPattern/>
        <mappingStatement xsi:type="qvti:MappingSequence">
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.0" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.cTopCS_2_Top">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.cTopCS_2_Top.leftCS.guard.topCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.0.topCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.0.topCS" name="topCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.1" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.cCompositeCS_2_Composite">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.cCompositeCS_2_Composite.leftCS.guard.compositeCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.1.compositeCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.1.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.2" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.cLeafCS_2_Leaf">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.cLeafCS_2_Leaf.leftCS.guard.leafCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.2.leafCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.2.leafCS" name="leafCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.0" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.uTop_node">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.uTop_node.leftCS.guard.topCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.3.topCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.3.topCS" name="topCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.1" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.uComposite_child">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_child.leftCS.guard.compositeCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.4.compositeCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.4.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.2" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.uLeaf_deep">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.uLeaf_deep.leftCS.guard.leafCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.5.leafCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.5.leafCS" name="leafCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.1" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.uComposite_deep">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_deep.leftCS.guard.compositeCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.6.compositeCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.6.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.2" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.uLeaf_height">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.uLeaf_height.leftCS.guard.leafCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.7.leafCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.7.leafCS" name="leafCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS"/>
          </mappingStatements>
          <mappingStatements xsi:type="qvti:MappingLoop">
            <ownedSource xsi:type="pivot:OperationCallExp" type="#//@ownedPackages.1/@ownedClasses.1" referredOperation="http://www.eclipse.org/ocl/2015/Library.oclas#o.ocl.OclElement.allInstances">
              <ownedSource xsi:type="pivot:TypeExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
            </ownedSource>
            <ownedBody xsi:type="qvti:MappingSequence">
              <mappingStatements xsi:type="qvti:MappingCall" referredMapping="#m..SimplerKiama_qvtp_qvtias.uComposite_height">
                <binding boundVariable="#qV..SimplerKiama_qvtp_qvtias.uComposite_height.leftCS.guard.compositeCS">
                  <value xsi:type="pivot:VariableExp" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" referredVariable="#i..SimplerKiama_qvtp_qvtias.__root__.0.8.compositeCS"/>
                </binding>
              </mappingStatements>
            </ownedBody>
            <ownedIterators xmi:id="i..SimplerKiama_qvtp_qvtias.__root__.0.8.compositeCS" name="compositeCS" type="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS"/>
          </mappingStatements>
        </mappingStatement>
      </rule>
    </ownedClasses>
  </ownedPackages>
  <ownedPackages xmi:id="P.$$" name="$$" URI="http://www.eclipse.org/ocl/2015/Orphanage" nsPrefix="orphanage">
    <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.3" elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.4" elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:SetType" name="Set" superClasses="#//@ownedPackages.1/@ownedClasses.5" elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..SetT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.6" elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.7" elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:CollectionType" name="UniqueCollection" superClasses="#//@ownedPackages.1/@ownedClasses.8" elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..UniqueCollectionT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
        elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.TopCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
        elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.CompositeCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
      </ownedBindings>
    </ownedClasses>
    <ownedClasses xsi:type="pivot:CollectionType" name="Collection" superClasses="http://www.eclipse.org/ocl/2015/Library.oclas#T.ocl.OclAny"
        elementType="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS">
      <ownedBindings>
        <ownedSubstitutions actual="pivot:Class SimplerKiamaCS.ecore.oclas#T.kiamacs.LeafCS" formal="http://www.eclipse.org/ocl/2015/Library.oclas#t.ocl..CollectionT"/>
      </ownedBindings>
    </ownedClasses>
  </ownedPackages>
</qvti:ImperativeModel>

Back to the top