package net.sourceforge.phpdt.internal.compiler.ast;
+import test.Token;
+
/**
* @author Matthieu Casanova
*/
public class NullLiteral extends MagicLiteral {
- public static final char[] source = {'n' , 'u' , 'l' , 'l'};
-
- public NullLiteral(final int sourceStart, final int sourceEnd) {
- super(sourceStart, sourceEnd);
+ public NullLiteral(final Token token) {
+ super(token.sourceStart, token.sourceEnd);
}
/**
public String toStringExpression() {
return "null";
}
-
- public char[] source() {
- return source;
- }
}