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