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

org.treesitter.TreeSitterPhp Maven / Gradle / Ivy

The newest version!

package org.treesitter;

import org.treesitter.utils.NativeUtils;

public class TreeSitterPhp extends TSLanguage {

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

    public TreeSitterPhp() {
       super(tree_sitter_php());
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy