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);
21 public abstract char[] source();
24 * Get the variables from outside (parameters, globals ...)
25 * @return an empty list
27 public List getOutsideVariable() {
28 return new ArrayList();
32 * get the modified variables.
33 * @return an empty list
35 public List getModifiedVariable() {
36 return new ArrayList();
40 * Get the variables used.
41 * @return an empty list
43 public List getUsedVariable() {
44 return new ArrayList();