private int fLastSignificantToken;
private IFile fFile;
- private String fFileName;
+// private String fFileName;
/**
* Creates the template engine for a particular context type.
fLastSignificantToken = lastSignificantToken;
fFile = file;
- if (fFile != null) {
- fFileName = fFile.getFullPath().toString();
- } else {
- fFileName = "";
- }
+// if (fFile != null) {
+// fFileName = fFile.getFullPath().toString();
+// } else {
+// fFileName = "";
+// }
}
/**
if (type != PHPIdentifierLocation.METHOD && type != PHPIdentifierLocation.VARIABLE) {
continue; // for loop
}
- if (!fFileName.equals(location.getFilename())) {
+ break;
+ case ITerminalSymbols.TokenNamethis_PHP_COMPLETION:
+ if (type != PHPIdentifierLocation.METHOD && type != PHPIdentifierLocation.VARIABLE) {
continue; // for loop
}
+ // check all filenames of the subclasses
+// if (!fFileName.equals(location.getFilename())) {
+// continue; // for loop
+// }
break;
case ITerminalSymbols.TokenNamenew :
if (type != PHPIdentifierLocation.CLASS && type != PHPIdentifierLocation.CONSTRUCTOR) {