import net.sourceforge.phpdt.internal.compiler.parser.SyntaxError;
import net.sourceforge.phpdt.internal.compiler.util.Util;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-import net.sourceforge.phpeclipse.obfuscator.PHPIdentifier;
+//import net.sourceforge.phpeclipse.obfuscator.PHPIdentifier;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
boolean hasModifiers = false;
int phpdocOffset = -1;
int phpdocLength = -1;
-
try {
while (fToken != TokenNameEOF && fToken != TokenNameERROR) {
phpdocOffset = -1;
// TODO Auto-generated catch block
e.printStackTrace();
}
-
}
synchronized public void parseIdentifiers(char[] charArray,
fScanner.setSource(charArray);
fScanner.setPHPMode(false);
fToken = TokenNameEOF;
-
try {
getNextToken();
while (fToken != TokenNameEOF) { // && fToken !=
skipComments();
}
}
-/* skipComments();
- if (fToken == TokenNameCOMMA) {
- skipComments();
- }*/
} while (fToken != TokenNameRPAREN );
}
parseDeclarations(null, buf, true);
}
public boolean equals(Object o) {
- String s = (String) o;
+ //String s = (String) o;
return compare(this, o) == 0;
}
}
String line = (String) fFileMap.get(file.getProjectRelativePath()
.toString());
if (line != null) {
- PHPIdentifierLocation ident;
+ //PHPIdentifierLocation ident;
ArrayList allClassNames = new ArrayList();
addLine(treeMap, null, line, allClassNames);
int i = 0;
}
public void addIdentifiers(TreeMap treeMap, String startClazz) {
- PHPIdentifierLocation ident;
+ //PHPIdentifierLocation ident;
ArrayList allClassNames = new ArrayList();
addClassName(treeMap, startClazz, allClassNames);
int i = 0;