We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f541cb commit 8fe7c81Copy full SHA for 8fe7c81
src/main/java/ch/usi/si/seart/treesitter/OffsetTreeCursor.java
@@ -289,7 +289,7 @@ public int hashCode() {
289
@Override
290
public String toString() {
291
String original = node.toString();
292
- int lower = 5;
+ int lower = Node.class.getSimpleName().length() + 1;
293
int upper = original.length() - 1;
294
String data = original.substring(lower, upper);
295
return String.format(
0 commit comments