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