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