improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / internal / compiler / ast / QualifiedNameReference.java
index 449a39c..ca262ed 100644 (file)
@@ -722,6 +722,14 @@ public class QualifiedNameReference extends NameReference {
                }
                return null;
        }
+       public StringBuffer printExpression(int indent, StringBuffer output) {
+               
+               for (int i = 0; i < tokens.length; i++) {
+                       if (i > 0) output.append('.');
+                       output.append(tokens[i]);
+               }
+               return output;
+       }
        public TypeBinding resolveType(BlockScope scope) {
                // field and/or local are done before type lookups
                // the only available value for the restrictiveFlag BEFORE