
header position 0..97
module startInlinedEndNotInlinedNoTextBeforeTextAfter
  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)
      [if .startsWith(.aqlFeatureAccess(myParam, 'name'), 'a') (241..269)
        [.aqlFeatureAccess(myParam, 'name') (272..284)/] (271..286)
         (newLineNeeded) (286..286)
             (287..291) (271..291)
      [/if] (236..296)
       AFTER_TEXT (newLineNeeded) (296..308)
      last line (newLineNeeded) (312..322) (216..324)
    [/file] (175..331)
     (newLineNeeded) (331..332) (172..332)
  [/template] (117..343) (0..343)