1 package net.sourceforge.phpdt.internal.compiler.ast;
4 import java.util.ArrayList;
7 * Here is the Superclass of the Literal expressions.
8 * @author Matthieu Casanova
10 public abstract class Literal extends Expression {
14 * @param sourceStart starting offset
15 * @param sourceEnd ending offset
17 public Literal(final int sourceStart, final int sourceEnd) {
18 super(sourceStart, sourceEnd);
22 * Get the variables from outside (parameters, globals ...)
23 * @return an empty list
25 public List getOutsideVariable() {
26 return new ArrayList(1);
30 * get the modified variables.
31 * @return an empty list
33 public List getModifiedVariable() {
34 return new ArrayList(1);
38 * Get the variables used.
39 * @return an empty list
41 public List getUsedVariable() {
42 return new ArrayList(1);