int statementLength = statementText.length();
int prefixEnd = PHPTextSequenceUtilities.readBackwardSpaces(
statementText, statementLength); // read whitespace
int prefixStart = PHPTextSequenceUtilities.readIdentifierStartIndex(
statementText, prefixEnd, true);
return statementText.subSequence(prefixStart, prefixEnd).toString();
}
public int getPrefixEnd() throws BadLocationException {
ITextRegion phpToken = getPHPToken();
if (phpToken.getType() == PHPRegionTypes.PHP_NS_SEPARATOR) {