efc37a739cae4f441d316be4a3c70d171519eb25
[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 java.util.List;
4 import java.util.ArrayList;
5
6 /**
7  * the true literal.
8  * @author Matthieu Casanova
9  */
10 public class TrueLiteral extends MagicLiteral {
11
12   public static final char[] source = {'t', 'r', 'u', 'e'};
13
14   public TrueLiteral(final int sourceStart, final int sourceEnd) {
15     super(sourceStart, sourceEnd);
16   }
17
18   public char[] source() {
19     return source;
20   }
21
22   /**
23    * Return the expression as String.
24    * @return the expression
25    */
26   public String toStringExpression() {
27     return "true";//$NON-NLS-1$
28   }
29
30   public String toString() {
31     return "true";//$NON-NLS-1$
32   }
33 }