/**
 *
 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either 
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public 
 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 * 
 **/
package lucee.transformer.bytecode;

import java.util.List;

import lucee.transformer.Factory;
import lucee.transformer.Position;

/**
 * Body tag (Statement collector)
 */
public interface Body extends Statement {

    /**
     * adds a statement to the Page
     * 
     * @param statement
     */
    public abstract void addFirst(Statement statement);

    public abstract void addStatement(Statement statement);

    /**
     * returns all statements
     * 
     * @return the statements
     */
    public abstract boolean hasStatements();

    public abstract List<Statement> getStatements();

    /**
     * move all statements to target body
     * 
     * @param trg
     */
    public abstract void moveStatmentsTo(Body trg);

    /**
     * returns if body has content or not
     * 
     * @return is empty
     */
    public abstract boolean isEmpty();

    public void addPrintOut(Factory f, String str, Position start, Position end);

    public void remove(Statement stat);

}
@@ -968,28 +968,22 @@
 ment %7B%0A%0A
-    /**%0A    
+%09/**%0A%09
  * adds 
@@ -1006,28 +1006,22 @@
 he Page%0A
-     * %0A    
+%09 * %0A%09
  * @para
@@ -1032,28 +1032,22 @@
 atement%0A
-     */%0A    
+%09 */%0A%09
 public a
@@ -1087,28 +1087,25 @@
 tatement);%0A%0A
-    
+%09
 public abstr
@@ -1145,36 +1145,30 @@
 tatement);%0A%0A
-    /**%0A    
+%09/**%0A%09
  * returns a
@@ -1181,28 +1181,22 @@
 tements%0A
-     * %0A    
+%09 * %0A%09
  * @retu
@@ -1213,28 +1213,22 @@
 tements%0A
-     */%0A    
+%09 */%0A%09
 public a
@@ -1257,28 +1257,25 @@
 tements();%0A%0A
-    
+%09
 public abstr
@@ -1312,28 +1312,22 @@
 nts();%0A%0A
-    /**%0A    
+%09/**%0A%09
  * move 
@@ -1356,28 +1356,22 @@
 et body%0A
-     * %0A    
+%09 * %0A%09
  * @para
@@ -1376,28 +1376,22 @@
 ram trg%0A
-     */%0A    
+%09 */%0A%09
 public a
@@ -1435,20 +1435,14 @@
 );%0A%0A
-    /**%0A    
+%09/**%0A%09
  * r
@@ -1479,20 +1479,14 @@
 not%0A
-     * %0A    
+%09 * %0A%09
  * @
@@ -1505,20 +1505,14 @@
 pty%0A
-     */%0A    
+%09 */%0A%09
 publ
@@ -1539,28 +1539,25 @@
 isEmpty();%0A%0A
-    
+%09
 public void 
@@ -1627,12 +1627,9 @@
 );%0A%0A
-    
+%09
 publ
@@ -1660,10 +1660,9 @@
  stat);%0A
-%0A
 %7D

clean white space