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

org.treesitter.TreeSitterJavascript Maven / Gradle / Ivy

The newest version!

package org.treesitter;

import org.treesitter.utils.NativeUtils;

public class TreeSitterJavascript extends TSLanguage {

    static {
        NativeUtils.loadLib("lib/tree-sitter-javascript");
    }
    private native static long tree_sitter_javascript();

    public TreeSitterJavascript() {
        super(tree_sitter_javascript());
    }

    private TreeSitterJavascript(long ptr) {
        super(ptr);
    }

    @Override
    public TSLanguage copy() {
        return new TreeSitterJavascript(copyPtr());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy