All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.treesitter.TreeSitterJson Maven / Gradle / Ivy

There is a newer version: 0.23.0
Show newest version
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