
header position 0..97
module startInlinedEndNotInlinedTextBeforeNoTextAfter
  metamodel http://www.eclipse.org/emf/2002/Ecore (56..94)
  [comment @main  (108..114) /] (99..116)
  
  public template myTemplate(myParam : EPackage (145..170))
  @main
    [file url .add(.aqlFeatureAccess(myParam, 'name'), '.txt') (182..203) mode overwrite
      first line (newLineNeeded) (221..232)
      BEFORE_TEXT  (236..248)
      [if .startsWith(.aqlFeatureAccess(myParam, 'name'), 'a') (253..281)
        [.aqlFeatureAccess(myParam, 'name') (284..296)/] (283..298)
         (newLineNeeded) (298..298)
                         (299..315) (283..315)
      [/if] (248..320)
       (newLineNeeded) (320..321)
      last line (newLineNeeded) (325..335) (216..337)
    [/file] (175..344)
     (newLineNeeded) (344..345) (172..345)
  [/template] (117..356) (0..356)