line.append('\t');
line.append(typeOfIdentifier);
line.append(identifier);
- // line.append("\to"); // Offset
- // line.append(fScanner.getCurrentTokenStartPosition());
}
/**
System.out.println(fScanner.toStringAction(fToken));
}
return;
- // } catch (InvalidInputException e) {
- // // ignore errors
- // // e.printStackTrace();
- // }
- // fToken = TokenNameERROR;
}
private void parseDeclarations(char[] parent, StringBuffer buf,
try {
getNextToken();
while (fToken != TokenNameEOF) { // && fToken !=
- // TokenNameERROR) {
+ // TokenNameERROR) {
phpdocOffset = -1;
hasModifiers = false;
if (fToken == TokenNameCOMMENT_PHPDOC) {
* @throws CoreException
*/
public void addInputStream(InputStream stream, String filePath,
- LineCreator lineCreator , String charset) throws CoreException {
+ LineCreator lineCreator, String charset) throws CoreException {
try {
StringBuffer lineBuffer = new StringBuffer();
lineBuffer.append(filePath);
lineCreator.parseIdentifiers(Util.getInputStreamAsCharArray(stream,
- -1, charset), lineBuffer);
+ -1, charset), lineBuffer);
addLine(lineBuffer.toString());
} catch (IOException e) {
e.printStackTrace();
stream.close();
}
} catch (IOException e) {
- //do nothing
+ // do nothing
}
}
}