package net.sourceforge.phpdt.internal.compiler.ast; /** * Literal for numbers * @author Matthieu Casanova */ public class NumberLiteral extends Literal { public char[] source; public NumberLiteral(char[] token, int sourceStart, int sourceEnd) { super(sourceStart, sourceEnd); source = token; } public char[] source() { return source; } /** * Return the expression as String. * @return the expression */ public String toStringExpression() { return new String(source); } }