blob: f1453f9651f2930a838da94936997dc4f1a06a32 [file] [log] [blame]
[module cstParserLibrary2text(http:///org/eclipse/emf/examples/library/extlibrary.ecore/1.0.0)/]
[import mtlParserLibrary2text/]
[comment MyComment /]
[comment]
MyComment
[/comment]
[template public bookToText(b : Book, l : Library) overrides bookToText]
Book : [b.title/]
[if (1 = l.writers->size())]
[if (b.name = '')]
aaa
[elseif (b.name = '')]
bbb
[else]
ccc
[/if]
[/if]
[for (w : Writer | l.writers)]
ddd[w.name/]
[/for]
[file ('filename',false)]
[/file]
[trace]
[/trace]
[let w:Writer = null]
[/let]
[protected ('identifier')]
[/protected]
[protected ('identifier')/]
[/template]
[macro toLowerCase(s:String):String ]
return [s/].toLowerCase();
[/macro]
[query myQuery(w:Writer):Writer=w/]