1585fc48d923c913604d5afeddebbd5729a2b583
[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 import java.util.ArrayList;
5
6 /**
7  * An empty statement.
8  * @author Matthieu Casanova
9  */
10 public class EmptyStatement extends Statement {
11
12   public EmptyStatement(final int sourceStart, final int sourceEnd) {
13     super(sourceStart, sourceEnd);
14   }
15
16   public String toString(final int tab) {
17     return tabString(tab) + ";"; //$NON-NLS-1$
18   }
19
20   /**
21    * Get the variables from outside (parameters, globals ...)
22    * @return an empty list
23    */
24   public List getOutsideVariable() {
25     return new ArrayList();
26   }
27
28   /**
29    * get the modified variables.
30    * @return an empty list
31    */
32   public List getModifiedVariable() {
33     return new ArrayList();
34   }
35
36   /**
37    * Get the variables used.
38    * @return an empty list
39    */
40   public List getUsedVariable() {
41     return new ArrayList();
42   }
43 }