| [module recursiveTemplateInvocation('http://www.eclipse.org/emf/2002/Ecore')/] |
| |
| [comment @main/] |
| [template public recursive_source_is_argument(c : ecore::EClass)] |
| [file ('recursive_template_invocation_is', overwrite)][c.recursive_is(true)/][/file] |
| |
| [file ('recursive_template_invocation_not', overwrite)][c.recursive_not(true)/][/file] |
| [/template] |
| |
| [template public recursive_is(c : ecore::EClass, b : Boolean)] |
| start[if (not b)]stop[else]continue[c.recursive_is(false)/][/if] |
| [/template] |
| |
| [template public recursive_not(c : ecore::EClass, b : Boolean)] |
| start[if (not b)]stop[else]continue[c.recursive_not(false)/][/if] |
| [/template] |