Changes for page Kieler Compiler
Last modified by Richard Kreissig on 2023/09/14 10:52
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -20,11 +20,7 @@ 20 20 21 21 The KIELER Compiler (KiCo) project allows to register step-by-step model transformations on EObjects that could be written in Xtend or Java. These transformations are registered using an extension point provided (see below). After registering transformations these can be used by simply call the KielerCompiler compilation method as also explained further below. 22 22 23 -|=((( 24 24 [[image:attach:KiCo.jpg]] 25 -)))|=((( 26 -[[image:attach:KiCo3.jpg]] 27 -))) 28 28 29 29 == Extension Point == 30 30 ... ... @@ -73,7 +73,7 @@ 73 73 * method: The name of the transformation method. Its signature must ensure that it returns an EObject an only take an EObject argument. Otherwise it cannot be found by KiCo. 74 74 * id: The unique String ID for this transformation. This is the ID the transformation will be referenced throughout KiCo. 75 75 * name: An optional String name for this transformation. If nothing is entered here the ID will be used as a name. 76 -* dependencies: An optional String as comma separated list of other transformation IDs that must run AFTER this transformationdown the compile-chain.This means if the current transformation is selected to run, all transformations that have dependencies on this will be run BEFORE.If nothing is entered here then this means there are no dependencies.72 +* dependencies: An optional String as comma separated list of other transformation IDs that must run BEFORE this transformation. If nothing is entered here then this means there are no dependencies. 77 77 ))) 78 78 |((( 79 79 transformationGroup ... ... @@ -81,9 +81,8 @@ 81 81 Sometimes you may want to group other transformations and give this group a specific transformation ID as a kind of shortcut. You can do this by using the transformationGroup element giving the following information: 82 82 83 83 * id: The unique String ID for this transformation group. This is the ID the transformation group will be referenced throughout KiCo. It may also again be referenced by other transformation groups! 84 -* transformations:Groups must specify their transformations. Use a String as comma separated list of other transformation IDs or transformation group IDs that should represent this group. Note that the order will be implied by the referenced transformations itself although if there is a free degree of order it can be influenced by the order specified here in the group.80 +* dependencies: These are NOT optional for groups. Groups must specify their transformations as dependencies. Use a String as comma separated list of other transformation IDs or transformation group IDs that should represent this group. Note that the order will be implied by the referenced transformations itself although if there is a free degree of order it can be influenced by the order specified here in the group. 85 85 * name: An optional String name for this transformation. If nothing is entered here the ID will be used as a name. 86 -* alternatives: When selected this group specifies alternatives only. When this group is referenced, the first transformation is selected if not any other transformation from this group is already in the list of selected transformations. This is an advanced feature. 87 87 ))) 88 88 89 89 === Example === ... ... @@ -234,20 +234,9 @@ 234 234 with the ID "abort2". 235 235 ))) 236 236 |((( 237 -You get the following error: 238 - 239 -{{{!ENTRY de.cau.cs.kieler.kico 2 2 2014-03-17 11:26:13.818}}} 240 - 241 -\\ 242 - 243 -{{{!MESSAGE Extension 'TERMINATION' from component: de.cau.cs.kieler.sccharts cannot beloaded becaus this ID is already taken. (de.cau.cs.kieler.kico)}}} 232 + 244 244 )))|((( 245 -The trasformation with ID "TERMINATION" is already 246 - registered and this ID cannot be used a second time. 247 -The component "de.cau...sccharts" tries to register 248 -a transformation with this ID while this ID is already 249 -taken. 234 + 250 250 )))|((( 251 -Rename one of the IDs or form a group of 252 - transformations. 236 + 253 253 )))
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -94701 111 +9470081 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/94701 11/Kieler Compiler1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470081/Kieler Compiler