| <?xml version="1.0" encoding="UTF-8"?> |
| <xmi:XMI 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" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> |
| <mtl:Module name="mtlParserEcoreCommon" nsURI="prefix::mtlParserEcoreCommon"> |
| <input> |
| <takesTypesFrom href="http://www.eclipse.org/emf/2002/Ecore#/"/> |
| </input> |
| <ownedModuleElement xsi:type="mtl:Template" name="toUFirst" visibility="Public"> |
| <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="	"/> |
| <body xsi:type="ocl.ecore:OperationCallExp"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <source xsi:type="ocl.ecore:OperationCallExp"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <source xsi:type="ocl.ecore:OperationCallExp"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <source xsi:type="ocl.ecore:VariableExp" referredVariable="/0/toUFirst/s"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </source> |
| <argument xsi:type="ocl.ecore:IntegerLiteralExp" integerSymbol="1"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| </argument> |
| <argument xsi:type="ocl.ecore:IntegerLiteralExp" integerSymbol="1"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| </argument> |
| <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/substring"/> |
| </source> |
| <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/toUpper"/> |
| </source> |
| <argument xsi:type="ocl.ecore:OperationCallExp"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <source xsi:type="ocl.ecore:VariableExp" referredVariable="/0/toUFirst/s"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </source> |
| <argument xsi:type="ocl.ecore:IntegerLiteralExp" integerSymbol="2"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| </argument> |
| <argument xsi:type="ocl.ecore:OperationCallExp"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| <source xsi:type="ocl.ecore:VariableExp" referredVariable="/0/toUFirst/s"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </source> |
| <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/size"/> |
| </argument> |
| <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/substring"/> |
| </argument> |
| <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/concat"/> |
| </body> |
| <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=""/> |
| <parameter name="s"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </parameter> |
| </ownedModuleElement> |
| </mtl:Module> |
| <ecore:EPackage name="additions"> |
| <eClassifiers xsi:type="ecore:EClass" name="String_Class"> |
| <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> |
| <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eAnnotations> |
| <eOperations name="substitute"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="r"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| <eParameters name="t"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="index"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| <eParameters name="r"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="first"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="n"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="last"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="n"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="strstr"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> |
| <eParameters name="r"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="strtok"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="s1"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| <eParameters name="flag"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="strcmp"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| <eParameters name="s1"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="isAlpha"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> |
| </eOperations> |
| <eOperations name="isAlphanum"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> |
| </eOperations> |
| <eOperations name="toUpperFirst"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eOperations> |
| <eOperations name="toLowerFirst"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eOperations> |
| <eOperations name="replace"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="substring"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| <eParameters name="replacement"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="replaceAll"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="substring"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| <eParameters name="replacement"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="substituteAll"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="substring"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| <eParameters name="replacement"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="startsWith"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> |
| <eParameters name="substring"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="endsWith"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> |
| <eParameters name="substring"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="trim"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eOperations> |
| <eOperations name="tokenize"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:SequenceType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> |
| <eParameters name="delimiters"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="toUFirst"> |
| <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> |
| <contents xsi:type="ocl.ecore:Constraint"/> |
| </eAnnotations> |
| <eAnnotations source="MTL" references="/0/toUFirst"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eOperations> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> |
| <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> |
| <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> |
| </eAnnotations> |
| <eOperations name="toString"> |
| <eAnnotations source="MTL"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eOperations> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> |
| <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> |
| <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> |
| </eAnnotations> |
| <eOperations name="toString"> |
| <eAnnotations source="MTL"/> |
| </eOperations> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> |
| <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> |
| <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> |
| </eAnnotations> |
| <eOperations name="eAllContents"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:SequenceType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> |
| </eOperations> |
| <eOperations name="eAllContents"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:SequenceType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> |
| <eParameters name="filter"> |
| <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> |
| </eParameters> |
| </eOperations> |
| <eOperations name="ancestors"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ocl.ecore:SequenceType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> |
| </eOperations> |
| <eOperations name="toString"> |
| <eAnnotations source="MTL non-standard"/> |
| <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/mtl/3.0/mtlnonstdlib.ecore#//String"/> |
| </eOperations> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> |
| <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> |
| <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> |
| </eAnnotations> |
| <eOperations name="toUFirst"> |
| <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> |
| <contents xsi:type="ocl.ecore:Constraint"/> |
| </eAnnotations> |
| <eAnnotations source="MTL" references="/0/toUFirst"/> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| <eParameters name="s"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </eParameters> |
| </eOperations> |
| </eClassifiers> |
| </ecore:EPackage> |
| <ocl.ecore:Variable name="self"> |
| <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> |
| </ocl.ecore:Variable> |
| <ocl.ecore:Variable name="self"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </ocl.ecore:Variable> |
| <ocl.ecore:Variable name="self"> |
| <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> |
| </ocl.ecore:Variable> |
| <ocl.ecore:Variable name="self"> |
| <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> |
| </ocl.ecore:Variable> |
| <ecore:EAnnotation source="positions"> |
| <eAnnotations source="positions.0" references="/0/toUFirst"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.1" references="/0/toUFirst/@body.0"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.2" references="/0/toUFirst/@body.1"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.3" references="/0/toUFirst/@body.1/@source"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.4" references="/0/toUFirst/@body.1/@source/@source"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.5" references="/0/toUFirst/@body.1/@source/@source/@source"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.6" references="/0/toUFirst/@body.1/@source/@source/@argument.0"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.7" references="/0/toUFirst/@body.1/@source/@source/@argument.1"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.8" references="/0/toUFirst/@body.1/@argument.0"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.9" references="/0/toUFirst/@body.1/@argument.0/@source"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.10" references="/0/toUFirst/@body.1/@argument.0/@argument.0"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.11" references="/0/toUFirst/@body.1/@argument.0/@argument.1"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.12" references="/0/toUFirst/@body.1/@argument.0/@argument.1/@source"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.13" references="/0/toUFirst/@body.2"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| <eAnnotations source="positions.14" references="/0/toUFirst/s"> |
| <details key="start" value="-1"/> |
| <details key="end" value="-1"/> |
| </eAnnotations> |
| </ecore:EAnnotation> |
| </xmi:XMI> |