package net.sourceforge.phpdt.internal.compiler.ast;
+
/**
* A Statement.
* @author Matthieu Casanova
*/
-public class Statement extends AstNode {
+public abstract class Statement extends AstNode {
- public Statement() {
+ /**
+ * Create a node giving starting and ending offset.
+ * @param sourceStart starting offset
+ * @param sourceEnd ending offset
+ */
+ public Statement(final int sourceStart,
+ final int sourceEnd) {
+ super(sourceStart, sourceEnd);
}
+ /**
+ * Tell if the block is empty.
+ * @return a statement is not empty by default
+ */
public boolean isEmptyBlock() {
return false;
}