1 package net.sourceforge.phpdt.internal.compiler.ast;
 
   6  * @author Matthieu Casanova
 
   8 public abstract class Expression extends Statement {
 
  11    * Create an expression giving starting and ending offset
 
  12    * @param sourceStart starting offset
 
  13    * @param sourceEnd ending offset
 
  15   public Expression(final int sourceStart, final int sourceEnd) {
 
  16     super(sourceStart, sourceEnd);
 
  20    * Return the expression with a number of spaces before.
 
  21    * @param tab how many spaces before the expression
 
  22    * @return a string representing the expression
 
  24   public String toString(final int tab) {
 
  25     return tabString(tab) + toStringExpression();
 
  29    * Return the expression as String.
 
  30    * @return the expression
 
  32   public abstract String toStringExpression();