Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
bc61f4b1
Commit
bc61f4b1
authored
May 10, 2012
by
Florian Hölzl
Browse files
some more models
refs 121
parent
4f3bbbc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.generator.common/trunk/model/generate-ecore.xml
View file @
bc61f4b1
...
...
@@ -2,7 +2,7 @@
<!--
$Id$
@version $Rev$
@ConQAT.Rating GREEN Hash:
AE69A68B14ECD0C7042691CA5D6EE05A
@ConQAT.Rating GREEN Hash:
5D3FDF5644EE1789C9DEE0D736B9FA3C
-->
<project
name=
"org.fortiss.af3.expression"
default=
"generate-ecore"
basedir=
".."
>
...
...
org.fortiss.af3.generator.common/trunk/model/languages.ecore
View file @
bc61f4b1
...
...
@@ -5,8 +5,89 @@
nsURI=
"http://www.fortiss.org/af3/generator/common/languages"
nsPrefix=
"org-fortiss-af3-generator-common-languages"
>
<eSubpackages
name=
"source"
nsURI=
"http://www.fortiss.org/af3/generator/common/languages/source"
nsPrefix=
"org-fortiss-af3-generator-common-languages-source"
>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"Source"
/>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"SourcePackage"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Composite class for source packages containing other packages and source units. Each package has a base location."
/>
</eAnnotations>
<eOperations
name=
"writeToLocation"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Writes this source package to the given location."
/>
</eAnnotations>
<eParameters
name=
"rootLocation"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
/>
</eOperations>
<eOperations
name=
"writeContentToLocation"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Writes the content of this source package to the given location."
/>
</eAnnotations>
<eParameters
name=
"rootLocation"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
/>
</eOperations>
<eStructuralFeatures
xsi:type=
"ecore:EAttribute"
name=
"baseLocation"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
/>
<eStructuralFeatures
xsi:type=
"ecore:EReference"
name=
"subPackages"
upperBound=
"-1"
eType=
"#//source/SourcePackage"
containment=
"true"
/>
<eStructuralFeatures
xsi:type=
"ecore:EReference"
name=
"units"
upperBound=
"-1"
eType=
"#//source/SourceUnit"
containment=
"true"
/>
</eClassifiers>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"SourceUnit"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"A unit of source code with a name (and possibly representing executable code). Each unit has three sections: imports, followed by declarations, followed by definitions."
/>
</eAnnotations>
<eOperations
name=
"toSource"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Converts this unit into a String."
/>
</eAnnotations>
</eOperations>
<eStructuralFeatures
xsi:type=
"ecore:EAttribute"
name=
"name"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
/>
<eStructuralFeatures
xsi:type=
"ecore:EAttribute"
name=
"executable"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
/>
<eStructuralFeatures
xsi:type=
"ecore:EReference"
name=
"imports"
upperBound=
"-1"
eType=
"#//source/Import"
containment=
"true"
/>
<eStructuralFeatures
xsi:type=
"ecore:EReference"
name=
"declarations"
upperBound=
"-1"
eType=
"#//source/Declaration"
containment=
"true"
/>
<eStructuralFeatures
xsi:type=
"ecore:EReference"
name=
"definitions"
upperBound=
"-1"
eType=
"#//source/Definition"
containment=
"true"
/>
</eClassifiers>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"Import"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Base class for imports (e.g. C includes or Java imports)."
/>
</eAnnotations>
<eStructuralFeatures
xsi:type=
"ecore:EAttribute"
name=
"sourceUnitReference"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
/>
</eClassifiers>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"Declaration"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Base class for declarations (e.g. C forward declarations)."
/>
</eAnnotations>
</eClassifiers>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"Definition"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Base class for definitions (e.g. C function implementation or Java methods)."
/>
</eAnnotations>
</eClassifiers>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"FormattedSourceUnit"
eSuperTypes=
"#//source/SourceUnit"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Base class for formatted source units."
/>
</eAnnotations>
<eOperations
name=
"toFormattedSource"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Returns the formatted content of this source unit."
/>
</eAnnotations>
</eOperations>
<eOperations
name=
"toSource"
eType=
"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
>
<eAnnotations
source=
"http://www.eclipse.org/emf/2002/GenModel"
>
<details
key=
"documentation"
value=
"Same as toFormattedSource()."
/>
</eAnnotations>
</eOperations>
</eClassifiers>
</eSubpackages>
<eSubpackages
name=
"c"
nsURI=
"http://www.fortiss.org/af3/generator/common/languages/c"
nsPrefix=
"org-fortiss-af3-generator-common-languages-c"
/>
nsPrefix=
"org-fortiss-af3-generator-common-languages-c"
>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"HeaderFile"
eSuperTypes=
"#//source/FormattedSourceUnit"
/>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"ImplementationFile"
eSuperTypes=
"#//source/FormattedSourceUnit"
/>
<eClassifiers
xsi:type=
"ecore:EEnum"
name=
"Modifier"
>
<eLiterals
name=
"EXTERN"
/>
<eLiterals
name=
"STATIC"
value=
"1"
/>
<eLiterals
name=
"NONE"
value=
"2"
literal=
""
/>
</eClassifiers>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"PreProcessorDefine"
eSuperTypes=
"#//source/Declaration"
/>
<eClassifiers
xsi:type=
"ecore:EClass"
name=
"Include"
eSuperTypes=
"#//source/Import"
/>
</eSubpackages>
</ecore:EPackage>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment