Changes:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / FalseLiteral.java
index 8d63fb8..ec7be4b 100644 (file)
@@ -1,14 +1,14 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import test.Token;
+
 /**
  * @author Matthieu Casanova
  */
 public class FalseLiteral extends MagicLiteral {
 
-  public static final char[] source = {'f', 'a', 'l', 's', 'e'};
-
-  public FalseLiteral(int sourceStart, int sourceEnd) {
-    super(sourceStart, sourceEnd);
+  public FalseLiteral(final Token token) {
+    super(token.sourceStart, token.sourceEnd);
   }
 
   /**
@@ -16,11 +16,7 @@ public class FalseLiteral extends MagicLiteral {
    * @return the expression
    */
   public String toStringExpression() {
-    return "false";
-  }
-
-  public char[] source() {
-    return source;
+    return "false";//$NON-NLS-1$
   }
 
   public String toString() {