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

org.treesitter.TreeSitterSparql Maven / Gradle / Ivy

There is a newer version: 0.1.0a
Show newest version

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