3.x RC1 compatibility
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / EmptyStatement.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 import java.util.List;
4
5 /**
6  * An empty statement.
7  * @author Matthieu Casanova
8  */
9 public final class EmptyStatement extends Statement {
10
11   public EmptyStatement(final int sourceStart, final int sourceEnd) {
12     super(sourceStart, sourceEnd);
13   }
14
15   public String toString(final int tab) {
16     return tabString(tab) + ';'; //$NON-NLS-1$
17   }
18
19   /**
20    * Get the variables from outside (parameters, globals ...)
21    *
22    * @param list the list where we will put variables
23    */
24   public void getOutsideVariable(final List list) {}
25
26   /**
27    * get the modified variables.
28    *
29    * @param list the list where we will put variables
30    */
31   public void getModifiedVariable(final List list) {}
32
33   /**
34    * Get the variables used.
35    *
36    * @param list the list where we will put variables
37    */
38   public void getUsedVariable(final List list) {}
39 }