source:
trunk/modelicaml/org.openmodelica.modelicaml.editor.xtext.activitycontrolflowguardexpression.generator/src/templates/Template.xpt
@
560
Last change on this file since 560 was 560, checked in by wschamai, 14 years ago | |
---|---|
File size: 409 bytes |
Line | |
---|---|
1 | «IMPORT org::openmodelica::modelicaml::editor::xtext::activity::activitycontrolflowguardexpression» |
2 | |
3 | «EXTENSION templates::Extensions» |
4 | |
5 | «DEFINE main FOR Greeting-» |
6 | «FILE name+".txt"-» |
7 | This is an example of a generated file. |
8 | |
9 | The input element was "Hello «name»!" |
10 | |
11 | All greetings in the same file: |
12 | «FOREACH ((Model)eContainer()).sortedGreetings() AS g SEPARATOR ', '»«g.name»«ENDFOREACH» |
13 | «ENDFILE-» |
14 | «ENDDEFINE» |
Note: See TracBrowser
for help on using the repository browser.