import java.text.MessageFormat;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.Hashtable;
import net.sourceforge.phpdt.core.compiler.*;
private int currentPHPString;
private boolean phpEnd;
- private static HashMap keywordMap = null;
+ // private static HashMap keywordMap = null;
private String str;
// current character
*@see
*/
public Parser(IFile fileToParse) {
- if (keywordMap == null) {
- keywordMap = new HashMap();
- for (int i = 0; i < PHP_KEYWORS.length; i++) {
- keywordMap.put(PHP_KEYWORS[i], new Integer(PHP_KEYWORD_TOKEN[i]));
- }
- }
+// if (keywordMap == null) {
+// keywordMap = new HashMap();
+// for (int i = 0; i < PHP_KEYWORS.length; i++) {
+// keywordMap.put(PHP_KEYWORS[i], new Integer(PHP_KEYWORD_TOKEN[i]));
+// }
+// }
this.currentPHPString = 0;
this.fileToParse = fileToParse;
this.phpList = null;