
header position 0..97
module startInlinedEndNotInlinedTextBeforeNoTextAfter
  metamodel http://www.eclipse.org/emf/2002/Ecore (56..94)
  [comment @main  (110..116) /] (101..118)
  
  public template myTemplate(myParam : EPackage (148..173))
  @main
    [file url .add(.aqlFeatureAccess(myParam, 'name'), '.txt') (186..207) mode overwrite
      first line (newLineNeeded) (226..238)
      BEFORE_TEXT  (242..254)
      [if .startsWith(.aqlFeatureAccess(myParam, 'name'), 'a') (259..287)
        [.aqlFeatureAccess(myParam, 'name') (290..302)/] (289..304)
         (newLineNeeded) (304..304)
                         (306..322) (289..322)
      [/if] (254..327)
       (newLineNeeded) (327..329)
      last line (newLineNeeded) (333..344) (220..346)
    [/file] (179..353)
     (newLineNeeded) (353..355) (175..355)
  [/template] (120..366) (0..366)