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