*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Statement.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3
4 /**
5  * A Statement.
6  * @author Matthieu Casanova
7  */
8 public abstract class Statement extends AstNode {
9
10   /**
11    * Create a node giving starting and ending offset.
12    * @param sourceStart starting offset
13    * @param sourceEnd ending offset
14    */
15   public Statement(final int sourceStart,
16                    final int sourceEnd) {
17     super(sourceStart, sourceEnd);
18   }
19
20   /**
21    * Tell if the block is empty.
22    * @return a statement is not empty by default
23    */
24   public boolean isEmptyBlock() {
25     return false;
26   }
27 }