
header position 0..99
module startInlinedEndNotInlinedNoTextBeforeNoTextAfter
  metamodel http://www.eclipse.org/emf/2002/Ecore (58..96)
  [comment @main  (110..116) /] (101..118)
  
  public template myTemplate(myParam : EPackage (147..172))
  @main
    [file url .add(.aqlFeatureAccess(myParam, 'name'), '.txt') (184..205) mode overwrite
      first line (newLineNeeded) (223..234)
      [if .startsWith(.aqlFeatureAccess(myParam, 'name'), 'z') (243..271)
        [.aqlFeatureAccess(myParam, 'name') (274..286)/] (273..288)
         (newLineNeeded) (288..288)
             (289..293) (273..293)
      [/if] (238..298)
       (newLineNeeded) (298..299)
      last line (newLineNeeded) (303..313) (218..315)
    [/file] (177..322)
     (newLineNeeded) (322..323) (174..323)
  [/template] (119..334) (0..334)