X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/FalseLiteral.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/FalseLiteral.java index af7dd86..ec7be4b 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/FalseLiteral.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/FalseLiteral.java @@ -1,17 +1,14 @@ package net.sourceforge.phpdt.internal.compiler.ast; -import java.util.List; -import java.util.ArrayList; +import test.Token; /** * @author Matthieu Casanova */ public class FalseLiteral extends MagicLiteral { - public static final char[] source = {'f', 'a', 'l', 's', 'e'}; - - public FalseLiteral(final int sourceStart, final int sourceEnd) { - super(sourceStart, sourceEnd); + public FalseLiteral(final Token token) { + super(token.sourceStart, token.sourceEnd); } /** @@ -22,10 +19,6 @@ public class FalseLiteral extends MagicLiteral { return "false";//$NON-NLS-1$ } - public char[] source() { - return source; - } - public String toString() { return "false";//$NON-NLS-1$ }