First try for AST structure. A lot of things to change
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / TrueLiteral.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 /**
4  * @author Matthieu Casanova
5  */
6 public class TrueLiteral extends MagicLiteral {
7
8   public static final char[] source = {'t', 'r', 'u', 'e'};
9
10   public TrueLiteral(int sourceStart, int sourceEnd) {
11     super(sourceStart, sourceEnd);
12   }
13
14   public char[] source() {
15     return source;
16   }
17
18   /**
19    * Return the expression as String.
20    * @return the expression
21    */
22   public String toStringExpression() {
23     return "true";//$NON-NLS-1$
24   }
25 }