improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / obfuscator / PHPIdentifier.java
index 895d942..fab771e 100644 (file)
@@ -1,7 +1,7 @@
 package net.sourceforge.phpeclipse.obfuscator;
 
 /**
- * @author khartlage
+ * Object which holds an PHP identifier name (i.e. class, function, variable,...)
  *  
  */
 public class PHPIdentifier {
@@ -13,6 +13,8 @@ public class PHPIdentifier {
   public final static int DEFINE = 5;
   public final static int CONSTRUCTOR = 6;
   public final static int GLOBAL_VARIABLE = 7;
+  public final static int EXTENDS = 8;
+  public final static int IMPLEMENTS = 9;
 
   private String fIdentifier;
 
@@ -94,6 +96,8 @@ public class PHPIdentifier {
         return "define - ";
       case FUNCTION :
         return "function - ";
+      case GLOBAL_VARIABLE :
+        return "global variable - ";
       case METHOD :
         return "method - ";
       case VARIABLE :