Changes:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / TrueLiteral.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 import test.Token;
4
5 /**
6  * the true literal.
7  * @author Matthieu Casanova
8  */
9 public class TrueLiteral extends MagicLiteral {
10
11   public TrueLiteral(Token token) {
12     super(token.sourceStart, token.sourceEnd);
13   }
14
15   /**
16    * Return the expression as String.
17    * @return the expression
18    */
19   public String toStringExpression() {
20     return "true";//$NON-NLS-1$
21   }
22
23   public String toString() {
24     return "true";//$NON-NLS-1$
25   }
26 }