org.treesitter.TSInputEdit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tree-sitter Show documentation
Show all versions of tree-sitter Show documentation
Next generation Tree Sitter Java binding
The newest version!
package org.treesitter;
public class TSInputEdit {
private final int startByte;
private final int oldEndByte;
private final int newEndByte;
private final TSPoint startPoint;
private final TSPoint oldEndPoint;
private final TSPoint newEndPoint;
public TSInputEdit(int startByte, int oldEndByte, int newEndByte, TSPoint startPoint, TSPoint oldEndPoint, TSPoint newEndPoint) {
this.startByte = startByte;
this.oldEndByte = oldEndByte;
this.newEndByte = newEndByte;
this.startPoint = startPoint;
this.oldEndPoint = oldEndPoint;
this.newEndPoint = newEndPoint;
}
public int getStartByte() {
return startByte;
}
public int getOldEndByte() {
return oldEndByte;
}
public int getNewEndByte() {
return newEndByte;
}
public TSPoint getStartPoint() {
return startPoint;
}
public TSPoint getOldEndPoint() {
return oldEndPoint;
}
public TSPoint getNewEndPoint() {
return newEndPoint;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy