org.treesitter.TreeSitterSourcepawn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tree-sitter-sourcepawn Show documentation
Show all versions of tree-sitter-sourcepawn Show documentation
Next generation Tree Sitter Java binding
The newest version!
package org.treesitter;
import org.treesitter.utils.NativeUtils;
public class TreeSitterSourcepawn extends TSLanguage {
static {
NativeUtils.loadLib("lib/tree-sitter-sourcepawn");
}
private native static long tree_sitter_sourcepawn();
public TreeSitterSourcepawn() {
super(tree_sitter_sourcepawn());
}
private TreeSitterSourcepawn(long ptr) {
super(ptr);
}
@Override
public TSLanguage copy() {
return new TreeSitterSourcepawn(copyPtr());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy