1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

toString method.

This commit is contained in:
Sergey Prigogin 2009-05-24 04:59:07 +00:00
parent 7d44857c55
commit 32f21e3778

View file

@ -92,8 +92,12 @@ abstract class ASTPreprocessorNode extends ASTNode {
public IToken getTrailingSyntax() {
throw new UnsupportedOperationException();
}
}
@Override
public String toString() {
return String.valueOf(getSource(getOffset(), getLength()));
}
}
class ASTComment extends ASTPreprocessorNode implements IASTComment {