org.treesitter.TreeSitterSparql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tree-sitter-sparql Show documentation
Show all versions of tree-sitter-sparql Show documentation
Next generation Tree Sitter Java binding
package org.treesitter;
import org.treesitter.utils.NativeUtils;
public class TreeSitterSparql implements TSLanguage {
static {
NativeUtils.loadLib("lib/tree-sitter-sparql");
}
private native static long tree_sitter_sparql();
private final long ptr;
public TreeSitterSparql() {
ptr = tree_sitter_sparql();
}
@Override
public long getPtr() {
return ptr;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy