*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Literal.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 import java.util.List;
4 import java.util.ArrayList;
5
6 /**
7  * Here is the Superclass of the Literal expressions.
8  * @author Matthieu Casanova
9  */
10 public abstract class Literal extends Expression {
11
12   /**
13    * Create a Literal.
14    * @param sourceStart starting offset
15    * @param sourceEnd ending offset
16    */
17   public Literal(final int sourceStart, final int sourceEnd) {
18     super(sourceStart, sourceEnd);
19   }
20
21   /**
22    * Get the variables from outside (parameters, globals ...)
23    * @return an empty list
24    */
25   public List getOutsideVariable() {
26     return new ArrayList(1);
27   }
28
29   /**
30    * get the modified variables.
31    * @return an empty list
32    */
33   public List getModifiedVariable() {
34     return new ArrayList(1);
35   }
36
37   /**
38    * Get the variables used.
39    * @return an empty list
40    */
41   public List getUsedVariable() {
42     return new ArrayList(1);
43   }
44 }