package net.sourceforge.phpdt.internal.compiler.ast;
+import java.util.List;
+import java.util.ArrayList;
+
/**
- * An empty statement
+ * An empty statement.
* @author Matthieu Casanova
*/
public class EmptyStatement extends Statement {
- public EmptyStatement(int sourceStart, int sourceEnd) {
+ public EmptyStatement(final int sourceStart, final int sourceEnd) {
super(sourceStart, sourceEnd);
}
- public String toString(int tab) {
+ public String toString(final int tab) {
return tabString(tab) + ";"; //$NON-NLS-1$
}
+
+ /**
+ * Get the variables from outside (parameters, globals ...)
+ * @return an empty list
+ */
+ public List getOutsideVariable() {
+ return new ArrayList();
+ }
+
+ /**
+ * get the modified variables.
+ * @return an empty list
+ */
+ public List getModifiedVariable() {
+ return new ArrayList();
+ }
+
+ /**
+ * Get the variables used.
+ * @return an empty list
+ */
+ public List getUsedVariable() {
+ return new ArrayList();
+ }
}