improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / internal / compiler / ast / Literal.java
index 7e1d239..54c3414 100644 (file)
@@ -31,6 +31,10 @@ public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, Fl
 public abstract void computeConstant() ;
        //ON ERROR constant STAYS NULL
 public abstract TypeBinding literalType(BlockScope scope);
+public StringBuffer printExpression(int indent, StringBuffer output){
+       
+               return output.append(source());
+        }
 public TypeBinding resolveType(BlockScope scope) {
        // compute the real value, which must range its type's range