
header position 0..99
module startInlinedEndNotInlinedNoTextBeforeNoTextAfter
  metamodel http://www.eclipse.org/emf/2002/Ecore (58..96)
  [comment @main  (112..118) /] (103..120)
  
  public template myTemplate(myParam : EPackage (150..175))
  @main
    [file url .add(.aqlFeatureAccess(myParam, 'name'), '.txt') (188..209) mode overwrite
      first line (newLineNeeded) (228..240)
      [if .startsWith(.aqlFeatureAccess(myParam, 'name'), 'z') (249..277)
        [.aqlFeatureAccess(myParam, 'name') (280..292)/] (279..294)
         (newLineNeeded) (294..294)
             (296..300) (279..300)
      [/if] (244..305)
       (newLineNeeded) (305..307)
      last line (newLineNeeded) (311..322) (222..324)
    [/file] (181..331)
     (newLineNeeded) (331..333) (177..333)
  [/template] (122..344) (0..344)