aboutsummaryrefslogtreecommitdiffstats
blob: 77ada1a89669a9977ea3d3a896641f8e28d26b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
«IMPORT org::eclipse::papyrus::parameter::editor::xtext::umlParameter»

«EXTENSION templates::Extensions»

«DEFINE main FOR Greeting-»
«FILE name+".txt"-»
This is an example of a generated file.

The input element was "Hello «name»!"

All greetings in the same file:
«FOREACH ((Model)eContainer()).sortedGreetings() AS g SEPARATOR ', '»«g.name»«ENDFOREACH»
«ENDFILE-»
«ENDDEFINE»