Interface NativeLibraryLookup

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface NativeLibraryLookup
An interface implemented by clients that wish to customize the SymbolLookup used for the tree-sitter native library. Implementations must be registered by listing their fully qualified class name in a resource file named META-INF/services/io.github.treesitter.jtreesitter.NativeLibraryLookup.
Since:
0.25.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Arena arena)
    Get the SymbolLookup to be used for the tree-sitter native library.
  • Method Details

    • get

      SymbolLookup get(Arena arena)
      Get the SymbolLookup to be used for the tree-sitter native library.
      Parameters:
      arena - The arena that will manage the native memory.
      Since:
      0.25.0